summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Gusarov <dottedmag@dottedmag.net>2010-04-14 03:03:22 +0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2010-04-13 20:17:24 -0700
commitce5aa4e7a30bff3207695b9ce8cbdcd56ff7b36c (patch)
treee4858c81040fcbf2cdc2c7bfb4db013ca7460e21
parentd12f1f2dd625f507cf8a504854dad0a9efd86259 (diff)
SIGCHLD is in Unix98
Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--xinit.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/xinit.c b/xinit.c
index 57bb72b..2d732f2 100644
--- a/xinit.c
+++ b/xinit.c
@@ -63,10 +63,6 @@ in this Software without prior written authorization from The Open Group.
#endif
#endif
-#if !defined(SIGCHLD) && defined(SIGCLD)
-#define SIGCHLD SIGCLD
-#endif
-
#include <stdlib.h>
#ifndef SHELL
@@ -293,9 +289,7 @@ main(int argc, char *argv[])
/*
* Start the server and client.
*/
-#ifdef SIGCHLD
signal(SIGCHLD, SIG_DFL); /* Insurance */
-#endif
/* Let those signal interrupt the wait() call in the main loop */
memset(&sa, 0, sizeof sa);