summaryrefslogtreecommitdiff
path: root/libc/signal/sigempty.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/signal/sigempty.c')
-rw-r--r--libc/signal/sigempty.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libc/signal/sigempty.c b/libc/signal/sigempty.c
index 777edbdd5..64330a686 100644
--- a/libc/signal/sigempty.c
+++ b/libc/signal/sigempty.c
@@ -20,6 +20,8 @@
#include <signal.h>
#include <string.h>
+libc_hidden_proto(memset)
+
/* Clear all signals from SET. */
int
sigemptyset (set)
@@ -31,7 +33,9 @@ sigemptyset (set)
return -1;
}
- __memset (set, 0, sizeof (sigset_t));
+ memset (set, 0, sizeof (sigset_t));
return 0;
}
+libc_hidden_proto(sigemptyset)
+libc_hidden_def(sigemptyset)