summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/signal/sysv_signal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/signal/sysv_signal.c b/libc/signal/sysv_signal.c
index 08b76a519..0c94577be 100644
--- a/libc/signal/sysv_signal.c
+++ b/libc/signal/sysv_signal.c
@@ -32,7 +32,7 @@
/* Set the handler for the signal SIG to HANDLER,
returning the old handler, or SIG_ERR on error. */
-__sighandler_t sysv_signal (int sig, __sighandler_t handler)
+__sighandler_t __sysv_signal (int sig, __sighandler_t handler)
{
struct sigaction act, oact;
@@ -53,4 +53,4 @@ __sighandler_t sysv_signal (int sig, __sighandler_t handler)
return oact.sa_handler;
}
-
+weak_alias (__sysv_signal, sysv_signal)