diff options
Diffstat (limited to 'libc/signal')
-rw-r--r-- | libc/signal/killpg.c | 2 | ||||
-rw-r--r-- | libc/signal/raise.c | 4 | ||||
-rw-r--r-- | libc/signal/sigaddset.c | 2 | ||||
-rw-r--r-- | libc/signal/sigblock.c | 2 | ||||
-rw-r--r-- | libc/signal/sigdelset.c | 2 | ||||
-rw-r--r-- | libc/signal/sigempty.c | 2 | ||||
-rw-r--r-- | libc/signal/sigfillset.c | 2 | ||||
-rw-r--r-- | libc/signal/siggetmask.c | 2 | ||||
-rw-r--r-- | libc/signal/sighold.c | 2 | ||||
-rw-r--r-- | libc/signal/signal.c | 2 | ||||
-rw-r--r-- | libc/signal/sigpause.c | 8 | ||||
-rw-r--r-- | libc/signal/sigrelse.c | 2 | ||||
-rw-r--r-- | libc/signal/sigsetmask.c | 2 | ||||
-rw-r--r-- | libc/signal/sigwait.c | 8 |
14 files changed, 21 insertions, 21 deletions
diff --git a/libc/signal/killpg.c b/libc/signal/killpg.c index 46b6e4b35..0e0d8f687 100644 --- a/libc/signal/killpg.c +++ b/libc/signal/killpg.c @@ -19,7 +19,7 @@ #include <errno.h> #include <signal.h> -libc_hidden_proto(kill) +/* libc_hidden_proto(kill) */ /* Send SIG to all processes in process group PGRP. If PGRP is zero, send SIG to all processes in diff --git a/libc/signal/raise.c b/libc/signal/raise.c index e304786c1..fcd114cc4 100644 --- a/libc/signal/raise.c +++ b/libc/signal/raise.c @@ -9,13 +9,13 @@ /* libc_hidden_proto(getpid) */ -libc_hidden_proto(kill) +/* libc_hidden_proto(kill) */ int __raise (int signo) attribute_hidden; int __raise(int signo) { return kill(getpid(), signo); } -libc_hidden_proto(raise) +/* libc_hidden_proto(raise) */ weak_alias(__raise,raise) libc_hidden_def(raise) diff --git a/libc/signal/sigaddset.c b/libc/signal/sigaddset.c index 9840a56bf..f8b117591 100644 --- a/libc/signal/sigaddset.c +++ b/libc/signal/sigaddset.c @@ -19,7 +19,7 @@ #include "sigsetops.h" /* Add SIGNO to SET. */ -libc_hidden_proto(sigaddset) +/* libc_hidden_proto(sigaddset) */ int sigaddset (sigset_t *set, int signo) { diff --git a/libc/signal/sigblock.c b/libc/signal/sigblock.c index 5aa3867e4..7051a94ce 100644 --- a/libc/signal/sigblock.c +++ b/libc/signal/sigblock.c @@ -25,7 +25,7 @@ #include "sigset-cvt-mask.h" /* Block signals in MASK, returning the old mask. */ -libc_hidden_proto(sigblock) +/* libc_hidden_proto(sigblock) */ int sigblock (int mask) { sigset_t set, oset; diff --git a/libc/signal/sigdelset.c b/libc/signal/sigdelset.c index de988a7e8..fb5658a11 100644 --- a/libc/signal/sigdelset.c +++ b/libc/signal/sigdelset.c @@ -19,7 +19,7 @@ #include "sigsetops.h" /* Add SIGNO to SET. */ -libc_hidden_proto(sigdelset) +/* libc_hidden_proto(sigdelset) */ int sigdelset (sigset_t *set, int signo) { if (set == NULL || signo <= 0 || signo >= NSIG) diff --git a/libc/signal/sigempty.c b/libc/signal/sigempty.c index 7d8687bd1..96260fb92 100644 --- a/libc/signal/sigempty.c +++ b/libc/signal/sigempty.c @@ -23,7 +23,7 @@ /* Experimentally off - libc_hidden_proto(memset) */ /* Clear all signals from SET. */ -libc_hidden_proto(sigemptyset) +/* libc_hidden_proto(sigemptyset) */ int sigemptyset (sigset_t *set) { if (set == NULL) diff --git a/libc/signal/sigfillset.c b/libc/signal/sigfillset.c index 96ab459dc..2f8fb8138 100644 --- a/libc/signal/sigfillset.c +++ b/libc/signal/sigfillset.c @@ -23,7 +23,7 @@ /* Experimentally off - libc_hidden_proto(memset) */ /* Set all signals in SET. */ -libc_hidden_proto(sigfillset) +/* libc_hidden_proto(sigfillset) */ int sigfillset (sigset_t *set) { diff --git a/libc/signal/siggetmask.c b/libc/signal/siggetmask.c index d3af43a12..82d2a97bc 100644 --- a/libc/signal/siggetmask.c +++ b/libc/signal/siggetmask.c @@ -20,7 +20,7 @@ #define __UCLIBC_HIDE_DEPRECATED__ #include <signal.h> -libc_hidden_proto(sigblock) +/* libc_hidden_proto(sigblock) */ int siggetmask (void) diff --git a/libc/signal/sighold.c b/libc/signal/sighold.c index 728c10aef..f8003d60f 100644 --- a/libc/signal/sighold.c +++ b/libc/signal/sighold.c @@ -23,7 +23,7 @@ #include <signal.h> /* libc_hidden_proto(sigprocmask) */ -libc_hidden_proto(sigaddset) +/* libc_hidden_proto(sigaddset) */ int sighold (int sig) { diff --git a/libc/signal/signal.c b/libc/signal/signal.c index 04705703a..4d379606f 100644 --- a/libc/signal/signal.c +++ b/libc/signal/signal.c @@ -52,6 +52,6 @@ __bsd_signal (int sig, __sighandler_t handler) return oact.sa_handler; } strong_alias(__bsd_signal,bsd_signal) -libc_hidden_proto(signal) +/* libc_hidden_proto(signal) */ strong_alias(__bsd_signal,signal) libc_hidden_def(signal) diff --git a/libc/signal/sigpause.c b/libc/signal/sigpause.c index 952350b6a..195e88efc 100644 --- a/libc/signal/sigpause.c +++ b/libc/signal/sigpause.c @@ -25,14 +25,14 @@ #include <stddef.h> /* For NULL. */ /* libc_hidden_proto(sigprocmask) */ -libc_hidden_proto(sigdelset) -libc_hidden_proto(sigsuspend) +/* libc_hidden_proto(sigdelset) */ +/* libc_hidden_proto(sigsuspend) */ #include "sigset-cvt-mask.h" /* Set the mask of blocked signals to MASK, wait for a signal to arrive, and then restore the mask. */ -libc_hidden_proto(__sigpause) +/* libc_hidden_proto(__sigpause) */ int __sigpause (int sig_or_mask, int is_sig) { sigset_t set; @@ -57,7 +57,7 @@ libc_hidden_def(__sigpause) /* We have to provide a default version of this function since the standards demand it. The version which is a bit more reasonable is the BSD version. So make this the default. */ -libc_hidden_proto(sigpause) +/* libc_hidden_proto(sigpause) */ int sigpause (int mask) { return __sigpause (mask, 0); diff --git a/libc/signal/sigrelse.c b/libc/signal/sigrelse.c index 61bd32df7..f5ee6fedc 100644 --- a/libc/signal/sigrelse.c +++ b/libc/signal/sigrelse.c @@ -23,7 +23,7 @@ #include <signal.h> /* libc_hidden_proto(sigprocmask) */ -libc_hidden_proto(sigdelset) +/* libc_hidden_proto(sigdelset) */ int sigrelse (int sig) { diff --git a/libc/signal/sigsetmask.c b/libc/signal/sigsetmask.c index ef8559ec8..5de4b59e4 100644 --- a/libc/signal/sigsetmask.c +++ b/libc/signal/sigsetmask.c @@ -25,7 +25,7 @@ #include "sigset-cvt-mask.h" /* Set the mask of blocked signals to MASK, returning the old mask. */ -libc_hidden_proto(sigsetmask) +/* libc_hidden_proto(sigsetmask) */ int sigsetmask (int mask) { diff --git a/libc/signal/sigwait.c b/libc/signal/sigwait.c index 117c1c4b3..c902ee888 100644 --- a/libc/signal/sigwait.c +++ b/libc/signal/sigwait.c @@ -23,7 +23,7 @@ #include <string.h> #if defined __UCLIBC_HAS_REALTIME__ -libc_hidden_proto(sigwaitinfo) +/* libc_hidden_proto(sigwaitinfo) */ int __sigwait (const sigset_t *set, int *sig) attribute_hidden; int __sigwait (const sigset_t *set, int *sig) @@ -37,9 +37,9 @@ int __sigwait (const sigset_t *set, int *sig) } #else /* __UCLIBC_HAS_REALTIME__ */ /* variant without REALTIME extensions */ -libc_hidden_proto(sigfillset) +/* libc_hidden_proto(sigfillset) */ /* libc_hidden_proto(sigaction) */ -libc_hidden_proto(sigsuspend) +/* libc_hidden_proto(sigsuspend) */ static int was_sig; /* obviously not thread-safe */ static void ignore_signal(int sig) @@ -96,6 +96,6 @@ int __sigwait (const sigset_t *set, int *sig) return was_sig == -1 ? -1 : 0; } #endif /* __UCLIBC_HAS_REALTIME__ */ -libc_hidden_proto(sigwait) +/* libc_hidden_proto(sigwait) */ weak_alias(__sigwait,sigwait) libc_hidden_def(sigwait) |