OSDN Git Service

Symbol cleanup/bugfix. Add in needed global.
authorEric Andersen <andersen@codepoet.org>
Tue, 16 Jan 2001 10:14:18 +0000 (10:14 -0000)
committerEric Andersen <andersen@codepoet.org>
Tue, 16 Jan 2001 10:14:18 +0000 (10:14 -0000)
libc/signal/bsd_sig.c
libc/signal/signal.c

index 509de87..405447e 100644 (file)
@@ -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;
 }
index 62af55f..2397c55 100644 (file)
@@ -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)
 {