summaryrefslogtreecommitdiff
path: root/libc/signal/signal.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-01-16 10:14:18 +0000
committerEric Andersen <andersen@codepoet.org>2001-01-16 10:14:18 +0000
commit059d08144033cf509b6b2aea56ae750980b399ba (patch)
tree27f37e7b25dd7f03384f55f50456cbdcb157f213 /libc/signal/signal.c
parentcfcf2c267b2dbb1a7fbbfdd82610330b45ead734 (diff)
Symbol cleanup/bugfix. Add in needed global.
Diffstat (limited to 'libc/signal/signal.c')
-rw-r--r--libc/signal/signal.c3
1 files changed, 3 insertions, 0 deletions
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)
{