summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/sig2str.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/sig2str.c b/lib/sig2str.c
index 1edc9f119..4096465dd 100644
--- a/lib/sig2str.c
+++ b/lib/sig2str.c
@@ -31,9 +31,6 @@
#if HAVE_SYS_WAIT_H
# include <sys/wait.h>
#endif
-#ifndef WTERMSIG
-# define WTERMSIG(s) ((s) & 0x7F)
-#endif
#include "sig2str.h"
@@ -224,7 +221,7 @@ static struct numname { int num; char const name[8]; } numname_table[] =
#endif
/* Older AIX versions. */
-#ifdef SIGALRM1
+#ifdef SIGALRM1
NUMNAME (ALRM1), /* unknown; taken from Bash 2.05 */
#endif
#ifdef SIGKAP