aboutsummaryrefslogtreecommitdiff
path: root/src/graph/viewman/sselect.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/graph/viewman/sselect.c')
-rw-r--r--src/graph/viewman/sselect.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/graph/viewman/sselect.c b/src/graph/viewman/sselect.c
index a9b16528..96516be2 100644
--- a/src/graph/viewman/sselect.c
+++ b/src/graph/viewman/sselect.c
@@ -40,7 +40,6 @@
#include <errno.h>
#include <sys/time.h>
#include <sys/wait.h>
-#include <signal.h>
#include "viewman.h"
#include "bsdsignal.h"
@@ -61,14 +60,7 @@
*******************************************/
int
-#ifdef _NO_PROTO
-superSelect(n, rd, wr, ex, timeout)
- int n;
- int *rd, *wr, *ex;
- char *timeout;
-#else
superSelect(int n, int *rd, int *wr, int *ex, char *timeout)
-#endif
{
int waiting;
@@ -89,11 +81,7 @@ superSelect(int n, int *rd, int *wr, int *ex, char *timeout)
/* flush(spadSock); */
/* send_int(spadSock,1); acknowledge to spad */
checkClosedChild = no;
-#if defined(BSDplatform) || defined(MACOSXplatform)
- bsdSignal(SIGCHLD,endChild,DontRestartSystemCalls);
-#else
- bsdSignal(SIGCLD,endChild,DontRestartSystemCalls);
-#endif
+ bsdSignal(OPENAXIOM_SIGCHLD,endChild,DontRestartSystemCalls);
}
}
ret_val = select(n, (void *)rd, (void *)wr, (void *)ex, (void *)timeout);