summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-04-28 21:20:49 +0000
committerJim Meyering <jim@meyering.net>2002-04-28 21:20:49 +0000
commit03d0ba4c0694cef675bfc7d15df13cd38305b3bb (patch)
tree8ffd51efb19d298f3546ba9df6da1eb27a4c6819 /lib
parentb41ca51fc6bff00f11ab42a5d518fe2ebb558f45 (diff)
downloadcoreutils-03d0ba4c0694cef675bfc7d15df13cd38305b3bb.tar.xz
Remove definition of unused WTERMSIG.
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