summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-02-05 06:04:17 +0000
committerEric Andersen <andersen@codepoet.org>2002-02-05 06:04:17 +0000
commit3540c7c49369e0816c665f476a32e13808d16819 (patch)
tree45260ef22797a2f24d32ed4cbbcc26ba8ed1a8fe /libc
parent1a88f482efbd802fdb17a12280fd4484d127270f (diff)
use X/Open __sysv_signal name, then use the weak name for sysv_signal
-Erik
Diffstat (limited to 'libc')
-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)