summaryrefslogtreecommitdiff
path: root/libc/signal/sigjmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/signal/sigjmp.c')
-rw-r--r--libc/signal/sigjmp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/signal/sigjmp.c b/libc/signal/sigjmp.c
index d11933891..26eec738f 100644
--- a/libc/signal/sigjmp.c
+++ b/libc/signal/sigjmp.c
@@ -21,6 +21,8 @@
#include <signal.h>
#include <libc-internal.h>
+libc_hidden_proto(sigprocmask)
+
/* This function is called by the `sigsetjmp' macro
before doing a `__setjmp' on ENV[0].__jmpbuf.
Always return zero. */
@@ -29,7 +31,7 @@ attribute_hidden
int __sigjmp_save (sigjmp_buf env, int savemask)
{
env[0].__mask_was_saved = (savemask &&
- __sigprocmask (SIG_BLOCK, (sigset_t *) NULL, &env[0].__saved_mask) == 0);
+ sigprocmask (SIG_BLOCK, (sigset_t *) NULL, &env[0].__saved_mask) == 0);
return 0;
}