summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/e1/longjmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/e1/longjmp.c')
-rw-r--r--libc/sysdeps/linux/e1/longjmp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/e1/longjmp.c b/libc/sysdeps/linux/e1/longjmp.c
index 89d6b76d9..306638937 100644
--- a/libc/sysdeps/linux/e1/longjmp.c
+++ b/libc/sysdeps/linux/e1/longjmp.c
@@ -40,10 +40,12 @@ void longjmp(jmp_buf state, int value )
#undef _state_
}
+libc_hidden_proto(sigprocmask)
+
void siglongjmp(sigjmp_buf state, int value )
{
if( state->__mask_was_saved )
- __sigprocmask(SIG_SETMASK, &state->__saved_mask, NULL);
+ sigprocmask(SIG_SETMASK, &state->__saved_mask, NULL);
if(!value)
state->__jmpbuf->ReturnValue = 1;