Browse Source

Symbol cleanup/bugfix. Add in needed global.

Eric Andersen 23 years ago
parent
commit
059d081440
2 changed files with 4 additions and 1 deletions
  1. 1 1
      libc/signal/bsd_sig.c
  2. 3 0
      libc/signal/signal.c

+ 1 - 1
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;
 }

+ 3 - 0
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)
 {