summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/signal.h1
-rw-r--r--libc/signal/sigpause.c1
-rw-r--r--libc/sysdeps/linux/common/pause.c4
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