diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-09-19 04:00:48 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-09-19 04:00:48 +0200 |
commit | 395e1d97616743e0fbadcc59ca2a75c36f14a3cf (patch) | |
tree | 7c8a82a03a9a248ebd3e5d7177afeb01fd7430b7 | |
parent | d4b4c5a0633be8be45583b2fd2238514a52e4202 (diff) |
sigpause: remove libc_hidden_proto/def
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | include/signal.h | 1 | ||||
-rw-r--r-- | libc/signal/sigpause.c | 1 | ||||
-rw-r--r-- | libc/sysdeps/linux/common/pause.c | 4 |
3 files changed, 2 insertions, 4 deletions
diff --git a/include/signal.h b/include/signal.h index f72707950..31ebc133c 100644 --- a/include/signal.h +++ b/include/signal.h @@ -184,7 +184,6 @@ libc_hidden_proto(__sigpause) /* Set the mask of blocked signals to MASK, wait for a signal to arrive, and then restore the mask. */ extern int sigpause (int __mask) __THROW __attribute_deprecated__; -libc_hidden_proto(sigpause) # define sigpause(mask) __sigpause ((mask), 0) #else # ifdef __USE_XOPEN diff --git a/libc/signal/sigpause.c b/libc/signal/sigpause.c index 1c72cc173..e465fac7a 100644 --- a/libc/signal/sigpause.c +++ b/libc/signal/sigpause.c @@ -58,4 +58,3 @@ int sigpause (int mask) { return __sigpause (mask, 0); } -libc_hidden_def(sigpause) diff --git a/libc/sysdeps/linux/common/pause.c b/libc/sysdeps/linux/common/pause.c index 30963d623..19ba30706 100644 --- a/libc/sysdeps/linux/common/pause.c +++ b/libc/sysdeps/linux/common/pause.c @@ -14,7 +14,7 @@ #ifdef __LINUXTHREADS_OLD__ extern __typeof(pause) weak_function pause; -strong_alias(pause,__libc_pause) +strong_alias(pause, __libc_pause) #endif #ifdef __NR_pause @@ -22,6 +22,6 @@ _syscall0(int, pause) #else int pause(void) { - return (__sigpause(sigblock(0), 0)); + return __sigpause(sigblock(0), 0); } #endif |