diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-01-16 10:14:18 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-01-16 10:14:18 +0000 |
commit | 059d08144033cf509b6b2aea56ae750980b399ba (patch) | |
tree | 27f37e7b25dd7f03384f55f50456cbdcb157f213 /libc | |
parent | cfcf2c267b2dbb1a7fbbfdd82610330b45ead734 (diff) |
Symbol cleanup/bugfix. Add in needed global.
Diffstat (limited to 'libc')
-rw-r--r-- | libc/signal/bsd_sig.c | 2 | ||||
-rw-r--r-- | libc/signal/signal.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/libc/signal/bsd_sig.c b/libc/signal/bsd_sig.c index 509de87cb..405447eae 100644 --- a/libc/signal/bsd_sig.c +++ b/libc/signal/bsd_sig.c @@ -29,6 +29,6 @@ __bsd_signal (int sig, __sighandler_t handler) action.sa_flags = 0; #endif } - ret = __sigaction (sig, &action, &oaction); + ret = sigaction (sig, &action, &oaction); return (ret == -1) ? SIG_ERR : oaction.sa_handler; } diff --git a/libc/signal/signal.c b/libc/signal/signal.c index 62af55f38..2397c55e7 100644 --- a/libc/signal/signal.c +++ b/libc/signal/signal.c @@ -1,6 +1,9 @@ #include <string.h> #include <signal.h> +/* Global variable */ +sigset_t _sigintr; /* Set by siginterrupt. */ + __sighandler_t __signal (int sig, __sighandler_t handler, int flags) { |