summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sh/longjmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/sh/longjmp.c')
-rw-r--r--libc/sysdeps/linux/sh/longjmp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/sh/longjmp.c b/libc/sysdeps/linux/sh/longjmp.c
index 7c729564a..b1fa7c213 100644
--- a/libc/sysdeps/linux/sh/longjmp.c
+++ b/libc/sysdeps/linux/sh/longjmp.c
@@ -24,6 +24,8 @@
#include <setjmp.h>
#include <signal.h>
+libc_hidden_proto(sigprocmask)
+
extern int __longjmp(char *env, int val);
libc_hidden_proto(__longjmp)
@@ -34,7 +36,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. */