diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-08-09 04:52:29 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-08-09 04:52:29 +0000 |
commit | 981799a70581dbb9740113cab23a26664e70e09d (patch) | |
tree | 1a0096a9433ca37001d4752d303be8a37433e8cb /libc/sysdeps/linux/sh/longjmp.c | |
parent | 74f2f592bb2b706b85f9598f68f8f3058ecef233 (diff) |
use sigprocmask instead of internal __sigprocmask since __ version doesnt always exist
Diffstat (limited to 'libc/sysdeps/linux/sh/longjmp.c')
-rw-r--r-- | libc/sysdeps/linux/sh/longjmp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/sh/longjmp.c b/libc/sysdeps/linux/sh/longjmp.c index 14e32d502..c36344cd1 100644 --- a/libc/sysdeps/linux/sh/longjmp.c +++ b/libc/sysdeps/linux/sh/longjmp.c @@ -25,7 +25,6 @@ #include <signal.h> extern int __longjmp(char *env, int val); -extern int __sigprocmask(int how, const sigset_t *set, sigset_t *oldset); /* Set the signal mask to the one specified in ENV, and jump to the position specified in ENV, causing the setjmp @@ -34,7 +33,7 @@ void __libc_siglongjmp (sigjmp_buf env, int val) { if (env[0].__mask_was_saved) /* Restore the saved signal mask. */ - (void) __sigprocmask (SIG_SETMASK, &env[0].__saved_mask, + (void) sigprocmask (SIG_SETMASK, &env[0].__saved_mask, (sigset_t *) NULL); /* Call the machine-dependent function to restore machine state. */ |