From bc6f7792f8c5ef6dc6d87ca851c1e182c6a0e418 Mon Sep 17 00:00:00 2001 From: dos-reis Date: Fri, 4 Apr 2008 22:01:31 +0000 Subject: * include/bsdsignal.h: Include . (OPENAXIOM_SIGCHLD): New macro. * hyper/hyper.c (main): Use OPENAXIOM_SIGCHLD. * graph/viewman/viewman.c: Don't include directly. (main): Use OPENAXIOM_SIGCHLD. * graph/viewman/sselect.c: Don't include directly. (superSelect): Tidy. Use OPENAXIOM_SIGCHLD. --- src/lib/fnct_key.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/lib') diff --git a/src/lib/fnct_key.c b/src/lib/fnct_key.c index c9240fd6..9e9e08f2 100644 --- a/src/lib/fnct_key.c +++ b/src/lib/fnct_key.c @@ -44,8 +44,6 @@ #include #include #include -#include - #include "edible.h" #include "bsdsignal.h" @@ -309,11 +307,7 @@ handle_function_key(int key,int chann) close(fd); } } -#if defined(MACOSXplatform) || defined(BSDplatform) - bsdSignal(SIGCHLD, null_fnct,RestartSystemCalls); -#else - bsdSignal(SIGCLD, null_fnct,RestartSystemCalls); -#endif + bsdSignal(OPENAXIOM_SIGCHLD, null_fnct,RestartSystemCalls); switch (id = fork()) { case -1: perror("Special key"); -- cgit v1.2.3