diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2009-09-18 20:57:40 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2009-09-18 20:57:40 +0200 |
commit | 21730caa6647f645974e132ca8afec79b4eeab2b (patch) | |
tree | 6c0a0e491526f19ab08062d7f22448ac60ca4bf5 /libc/signal | |
parent | 35c8387f6d3dd3d901bdc9bb7eb1c681cd1b2c0d (diff) |
trim Experimentally off and uncommented hidden
sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *)
sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *)
should be a nop
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/signal')
-rw-r--r-- | libc/signal/killpg.c | 1 | ||||
-rw-r--r-- | libc/signal/raise.c | 3 | ||||
-rw-r--r-- | libc/signal/sigaddset.c | 1 | ||||
-rw-r--r-- | libc/signal/sigblock.c | 2 | ||||
-rw-r--r-- | libc/signal/sigdelset.c | 1 | ||||
-rw-r--r-- | libc/signal/sigempty.c | 2 | ||||
-rw-r--r-- | libc/signal/sigfillset.c | 2 | ||||
-rw-r--r-- | libc/signal/siggetmask.c | 1 | ||||
-rw-r--r-- | libc/signal/sighold.c | 2 | ||||
-rw-r--r-- | libc/signal/sigignore.c | 1 | ||||
-rw-r--r-- | libc/signal/sigintr.c | 1 | ||||
-rw-r--r-- | libc/signal/sigjmp.c | 1 | ||||
-rw-r--r-- | libc/signal/sigpause.c | 5 | ||||
-rw-r--r-- | libc/signal/sigrelse.c | 2 | ||||
-rw-r--r-- | libc/signal/sigset.c | 2 | ||||
-rw-r--r-- | libc/signal/sigsetmask.c | 2 | ||||
-rw-r--r-- | libc/signal/sigwait.c | 5 | ||||
-rw-r--r-- | libc/signal/sysv_signal.c | 1 |
18 files changed, 0 insertions, 35 deletions
diff --git a/libc/signal/killpg.c b/libc/signal/killpg.c index 0e0d8f687..c2dc713d9 100644 --- a/libc/signal/killpg.c +++ b/libc/signal/killpg.c @@ -19,7 +19,6 @@ #include <errno.h> #include <signal.h> -/* 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 fcd114cc4..1ac549d2f 100644 --- a/libc/signal/raise.c +++ b/libc/signal/raise.c @@ -8,14 +8,11 @@ #include <sys/types.h> -/* libc_hidden_proto(getpid) */ -/* libc_hidden_proto(kill) */ int __raise (int signo) attribute_hidden; int __raise(int signo) { return kill(getpid(), signo); } -/* 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 f8b117591..7577d37c2 100644 --- a/libc/signal/sigaddset.c +++ b/libc/signal/sigaddset.c @@ -19,7 +19,6 @@ #include "sigsetops.h" /* Add SIGNO to SET. */ -/* libc_hidden_proto(sigaddset) */ int sigaddset (sigset_t *set, int signo) { diff --git a/libc/signal/sigblock.c b/libc/signal/sigblock.c index 5a16f336b..c3b79d9ab 100644 --- a/libc/signal/sigblock.c +++ b/libc/signal/sigblock.c @@ -21,12 +21,10 @@ #include <signal.h> #include <string.h> -/* libc_hidden_proto(sigprocmask) */ #include "sigset-cvt-mask.h" /* Block signals in MASK, returning the old mask. */ -/* 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 fb5658a11..ff30303ea 100644 --- a/libc/signal/sigdelset.c +++ b/libc/signal/sigdelset.c @@ -19,7 +19,6 @@ #include "sigsetops.h" /* Add SIGNO to SET. */ -/* 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 56b62bc65..b4f180bbc 100644 --- a/libc/signal/sigempty.c +++ b/libc/signal/sigempty.c @@ -20,10 +20,8 @@ #include <signal.h> #include <string.h> -/* Experimentally off - libc_hidden_proto(memset) */ /* Clear all signals from SET. */ -/* libc_hidden_proto(sigemptyset) */ int sigemptyset (sigset_t *set) { #if 0 /* is it really required by standards?! */ diff --git a/libc/signal/sigfillset.c b/libc/signal/sigfillset.c index b0b093032..951e76b79 100644 --- a/libc/signal/sigfillset.c +++ b/libc/signal/sigfillset.c @@ -20,10 +20,8 @@ #include <signal.h> #include <string.h> -/* Experimentally off - libc_hidden_proto(memset) */ /* Set all signals in SET. */ -/* libc_hidden_proto(sigfillset) */ int sigfillset (sigset_t *set) { diff --git a/libc/signal/siggetmask.c b/libc/signal/siggetmask.c index 82d2a97bc..3992a7a0a 100644 --- a/libc/signal/siggetmask.c +++ b/libc/signal/siggetmask.c @@ -20,7 +20,6 @@ #define __UCLIBC_HIDE_DEPRECATED__ #include <signal.h> -/* libc_hidden_proto(sigblock) */ int siggetmask (void) diff --git a/libc/signal/sighold.c b/libc/signal/sighold.c index fde0a0c2a..6a2e718cd 100644 --- a/libc/signal/sighold.c +++ b/libc/signal/sighold.c @@ -22,8 +22,6 @@ #include <stddef.h> #include <signal.h> -/* libc_hidden_proto(sigprocmask) */ -/* libc_hidden_proto(sigaddset) */ int sighold (int sig) { diff --git a/libc/signal/sigignore.c b/libc/signal/sigignore.c index f484e29fc..a74c10522 100644 --- a/libc/signal/sigignore.c +++ b/libc/signal/sigignore.c @@ -24,7 +24,6 @@ #include <signal.h> #include <string.h> /* For the real memset prototype. */ -/* libc_hidden_proto(sigaction) */ int sigignore (int sig) { diff --git a/libc/signal/sigintr.c b/libc/signal/sigintr.c index 1a8d60eb2..10567e939 100644 --- a/libc/signal/sigintr.c +++ b/libc/signal/sigintr.c @@ -20,7 +20,6 @@ #include <signal.h> #include <errno.h> -/* libc_hidden_proto(sigaction) */ /* If INTERRUPT is nonzero, make signal SIG interrupt system calls (causing them to fail with EINTR); if INTERRUPT is zero, make system diff --git a/libc/signal/sigjmp.c b/libc/signal/sigjmp.c index 646949935..0dcbc8b02 100644 --- a/libc/signal/sigjmp.c +++ b/libc/signal/sigjmp.c @@ -21,7 +21,6 @@ #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. diff --git a/libc/signal/sigpause.c b/libc/signal/sigpause.c index 152f9ca32..1c72cc173 100644 --- a/libc/signal/sigpause.c +++ b/libc/signal/sigpause.c @@ -25,15 +25,11 @@ #include <stddef.h> /* For NULL. */ #include <string.h> -/* libc_hidden_proto(sigprocmask) */ -/* 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) */ int __sigpause (int sig_or_mask, int is_sig) { sigset_t set; @@ -58,7 +54,6 @@ 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) */ int sigpause (int mask) { return __sigpause (mask, 0); diff --git a/libc/signal/sigrelse.c b/libc/signal/sigrelse.c index 1a7141ac5..07e7fddf3 100644 --- a/libc/signal/sigrelse.c +++ b/libc/signal/sigrelse.c @@ -22,8 +22,6 @@ #include <stddef.h> #include <signal.h> -/* libc_hidden_proto(sigprocmask) */ -/* libc_hidden_proto(sigdelset) */ int sigrelse (int sig) { diff --git a/libc/signal/sigset.c b/libc/signal/sigset.c index 03f3dc869..b91ce8083 100644 --- a/libc/signal/sigset.c +++ b/libc/signal/sigset.c @@ -22,8 +22,6 @@ #include <signal.h> #include <string.h> /* For the real memset prototype. */ -/* libc_hidden_proto(sigaction) */ -/* libc_hidden_proto(sigprocmask) */ /* Set the disposition for SIG. */ __sighandler_t sigset (int sig, __sighandler_t disp) diff --git a/libc/signal/sigsetmask.c b/libc/signal/sigsetmask.c index f8784e288..6d0a505a7 100644 --- a/libc/signal/sigsetmask.c +++ b/libc/signal/sigsetmask.c @@ -21,12 +21,10 @@ #include <signal.h> #include <string.h> -/* libc_hidden_proto(sigprocmask) */ #include "sigset-cvt-mask.h" /* Set the mask of blocked signals to MASK, returning the old mask. */ -/* libc_hidden_proto(sigsetmask) */ int sigsetmask (int mask) { diff --git a/libc/signal/sigwait.c b/libc/signal/sigwait.c index bed7f979a..2cdc3acac 100644 --- a/libc/signal/sigwait.c +++ b/libc/signal/sigwait.c @@ -23,7 +23,6 @@ #include <string.h> #if defined __UCLIBC_HAS_REALTIME__ -/* libc_hidden_proto(sigwaitinfo) */ int __sigwait (const sigset_t *set, int *sig) attribute_hidden; int __sigwait (const sigset_t *set, int *sig) @@ -37,9 +36,6 @@ int __sigwait (const sigset_t *set, int *sig) } #else /* __UCLIBC_HAS_REALTIME__ */ /* variant without REALTIME extensions */ -/* libc_hidden_proto(sigfillset) */ -/* libc_hidden_proto(sigaction) */ -/* libc_hidden_proto(sigsuspend) */ static smallint was_sig; /* obviously not thread-safe */ static void ignore_signal(int sig) @@ -98,6 +94,5 @@ int __sigwait (const sigset_t *set, int *sig) return was_sig == -1 ? -1 : 0; } #endif /* __UCLIBC_HAS_REALTIME__ */ -/* libc_hidden_proto(sigwait) */ weak_alias(__sigwait,sigwait) libc_hidden_def(sigwait) diff --git a/libc/signal/sysv_signal.c b/libc/signal/sysv_signal.c index 118094b27..a696a5426 100644 --- a/libc/signal/sysv_signal.c +++ b/libc/signal/sysv_signal.c @@ -20,7 +20,6 @@ #include <signal.h> #include <string.h> /* For the real memset prototype. */ -/* libc_hidden_proto(sigaction) */ /* Tolerate non-threads versions of Posix */ #ifndef SA_ONESHOT |