diff options
-rw-r--r-- | src/kill.c | 7 | ||||
-rw-r--r-- | src/operand2sig.c | 7 | ||||
-rw-r--r-- | src/timeout.c | 7 |
3 files changed, 0 insertions, 21 deletions
diff --git a/src/kill.c b/src/kill.c index 09d280822..4210c37b5 100644 --- a/src/kill.c +++ b/src/kill.c @@ -21,14 +21,7 @@ #include <getopt.h> #include <sys/types.h> #include <signal.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" 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" diff --git a/src/timeout.c b/src/timeout.c index c6f65258b..e2234c3f0 100644 --- a/src/timeout.c +++ b/src/timeout.c @@ -51,13 +51,6 @@ #include <signal.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 "xstrtol.h" #include "sig2str.h" |