OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a88f48
)
use X/Open __sysv_signal name, then use the weak name for sysv_signal
author
Eric Andersen
<andersen@codepoet.org>
Tue, 5 Feb 2002 06:04:17 +0000
(06:04 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Tue, 5 Feb 2002 06:04:17 +0000
(06:04 -0000)
-Erik
libc/signal/sysv_signal.c
patch
|
blob
|
history
diff --git
a/libc/signal/sysv_signal.c
b/libc/signal/sysv_signal.c
index
08b76a5
..
0c94577
100644
(file)
--- 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)