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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/signal/sigjmp.c b/libc/signal/sigjmp.c
index 37f19595a..d11933891 100644
--- a/libc/signal/sigjmp.c
+++ b/libc/signal/sigjmp.c
@@ -19,11 +19,13 @@
#include <stddef.h>
#include <setjmp.h>
#include <signal.h>
+#include <libc-internal.h>
/* This function is called by the `sigsetjmp' macro
before doing a `__setjmp' on ENV[0].__jmpbuf.
Always return zero. */
+attribute_hidden
int __sigjmp_save (sigjmp_buf env, int savemask)
{
env[0].__mask_was_saved = (savemask &&