summaryrefslogtreecommitdiff
path: root/src/operand2sig.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-05-03 10:45:47 +0200
committerJim Meyering <meyering@redhat.com>2010-05-03 12:26:00 +0200
commita9c542e416ffcd29dbe44845197442cc550e5370 (patch)
treefc403f29390aa2e33170245cf004b06740aa082d /src/operand2sig.c
parentd861519d2a3214df2b4cd2ee6d59e8772371f780 (diff)
downloadcoreutils-a9c542e416ffcd29dbe44845197442cc550e5370.tar.xz
maint: remove now-redundant definitions provided by sys/wait.h
* src/timeout.c (WIFSIGNALED, WTERMSIG): Remove definitions, now that gnulib guarantees they are defined in <sys/wait.h>. * src/operand2sig.c: Likewise. * src/kill.c: Likewise.
Diffstat (limited to 'src/operand2sig.c')
-rw-r--r--src/operand2sig.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/operand2sig.c b/src/operand2sig.c
index d0500cdac..8c1e7802c 100644
--- a/src/operand2sig.c
+++ b/src/operand2sig.c
@@ -24,14 +24,7 @@
#include <config.h>
#include <stdio.h>
#include <sys/types.h>
-
#include <sys/wait.h>
-#ifndef WIFSIGNALED
-# define WIFSIGNALED(s) (((s) & 0xFFFF) - 1 < (unsigned int) 0xFF)
-#endif
-#ifndef WTERMSIG
-# define WTERMSIG(s) ((s) & 0x7F)
-#endif
#include "system.h"
#include "error.h"