diff options
author | dos-reis <gdr@axiomatics.org> | 2008-04-04 22:01:31 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2008-04-04 22:01:31 +0000 |
commit | bc6f7792f8c5ef6dc6d87ca851c1e182c6a0e418 (patch) | |
tree | 602066fe46c83df1fa7011890ab00ffb7d3beb5a /src/lib | |
parent | 92ea008a72331e4095621277305553417b617292 (diff) | |
download | open-axiom-bc6f7792f8c5ef6dc6d87ca851c1e182c6a0e418.tar.gz |
* include/bsdsignal.h: Include <signal.h>.
(OPENAXIOM_SIGCHLD): New macro.
* hyper/hyper.c (main): Use OPENAXIOM_SIGCHLD.
* graph/viewman/viewman.c: Don't include <signal.h> directly.
(main): Use OPENAXIOM_SIGCHLD.
* graph/viewman/sselect.c: Don't include <signal.h> directly.
(superSelect): Tidy. Use OPENAXIOM_SIGCHLD.
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/fnct_key.c | 8 |
1 files changed, 1 insertions, 7 deletions
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 <sys/stat.h> #include <sys/types.h> #include <sys/wait.h> -#include <signal.h> - #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"); |