summaryrefslogtreecommitdiff
path: root/libc/signal/sighold.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/signal/sighold.c')
-rw-r--r--libc/signal/sighold.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/libc/signal/sighold.c b/libc/signal/sighold.c
index 29b452f63..d51ac1243 100644
--- a/libc/signal/sighold.c
+++ b/libc/signal/sighold.c
@@ -23,6 +23,9 @@
#define _GNU_SOURCE
#include <signal.h>
+libc_hidden_proto(sigprocmask)
+libc_hidden_proto(sigaddset)
+
int
sighold (sig)
int sig;
@@ -30,7 +33,7 @@ sighold (sig)
sigset_t set;
/* Retrieve current signal set. */
- if (__sigprocmask (SIG_SETMASK, NULL, &set) < 0)
+ if (sigprocmask (SIG_SETMASK, NULL, &set) < 0)
return -1;
/* Add the specified signal. */
@@ -38,5 +41,5 @@ sighold (sig)
return -1;
/* Set the new mask. */
- return __sigprocmask (SIG_SETMASK, &set, NULL);
+ return sigprocmask (SIG_SETMASK, &set, NULL);
}