1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-07-26 02:30:35 +02:00

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.
This commit is contained in:
Jim Meyering
2010-05-03 10:45:47 +02:00
parent d861519d2a
commit a9c542e416
3 changed files with 0 additions and 21 deletions
-7
View File
@@ -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"
-7
View File
@@ -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"
-7
View File
@@ -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"