summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/e1/setjmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/e1/setjmp.c')
-rw-r--r--libc/sysdeps/linux/e1/setjmp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/e1/setjmp.c b/libc/sysdeps/linux/e1/setjmp.c
index 502e89b22..750c4e08e 100644
--- a/libc/sysdeps/linux/e1/setjmp.c
+++ b/libc/sysdeps/linux/e1/setjmp.c
@@ -7,6 +7,8 @@
#include <stdio.h>
#include <signal.h>
+libc_hidden_proto(sigprocmask)
+
int setjmp( jmp_buf state)
{
asm volatile( "mov %0, G3\n\t"
@@ -32,7 +34,7 @@ int sigsetjmp( sigjmp_buf state , int savesigs)
if(savesigs) {
state->__mask_was_saved = 1;
/* how arg in <sigprocmask> is not significant */
- __sigprocmask(SIG_SETMASK, NULL, &state->__saved_mask);
+ sigprocmask(SIG_SETMASK, NULL, &state->__saved_mask);
} else
state->__mask_was_saved = 0;