[PATCH xinit 07/14] SIGCHLD is in Unix98

Mikhail Gusarov dottedmag at dottedmag.net
Tue Apr 13 13:03:22 PDT 2010


Signed-off-by: Mikhail Gusarov <dottedmag at dottedmag.net>
---
 xinit.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/xinit.c b/xinit.c
index 311c279..2d725e5 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);
-- 
1.7.0



More information about the xorg-devel mailing list