summaryrefslogtreecommitdiff
path: root/libc/signal/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/signal/signal.c')
-rw-r--r--libc/signal/signal.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/libc/signal/signal.c b/libc/signal/signal.c
index 87bd7ab84..6879ef822 100644
--- a/libc/signal/signal.c
+++ b/libc/signal/signal.c
@@ -28,8 +28,8 @@ sigset_t _sigintr attribute_hidden; /* Set by siginterrupt. */
/* Set the handler for the signal SIG to HANDLER,
returning the old handler, or SIG_ERR on error. */
-attribute_hidden __sighandler_t
-__bsd_signal (int sig, __sighandler_t handler)
+__sighandler_t
+bsd_signal (int sig, __sighandler_t handler)
{
struct sigaction act, oact;
@@ -50,7 +50,6 @@ __bsd_signal (int sig, __sighandler_t handler)
return oact.sa_handler;
}
-strong_alias(__bsd_signal,bsd_signal)
-strong_alias(__bsd_signal,signal)
+strong_alias(bsd_signal,signal)
libc_hidden_proto(signal)
libc_hidden_def(signal)