summaryrefslogtreecommitdiff
path: root/signals.c
diff options
context:
space:
mode:
Diffstat (limited to 'signals.c')
-rw-r--r--signals.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/signals.c b/signals.c
index a4452f4..7029544 100644
--- a/signals.c
+++ b/signals.c
@@ -61,14 +61,10 @@ in this Software without prior written authorization from The Open Group.
#define USE_POSIX_WAIT
#endif
-#if defined(linux) || defined(SYSV)
+#ifdef linux
#define USE_SYSV_SIGNALS
#endif
-#if defined(X_NOT_POSIX) && defined(SYSV)
-#define SIGNALS_RESET_WHEN_CAUGHT
-#endif
-
#include <stddef.h>
#include "xsm.h"
@@ -101,10 +97,6 @@ sig_child_handler (int sig)
wait (NULL);
#endif
-#ifdef SIGNALS_RESET_WHEN_CAUGHT
- Signal (SIGCHLD, sig_child_handler);
-#endif
-
/*
* The wait() above must come before re-establishing the signal handler.
* In between this time, a new child might have died. If we can do