diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-03 00:34:49 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-03 00:34:49 +0000 |
commit | c885bf5cf94a12202f849477a845d728cbd12889 (patch) | |
tree | 106e36d57ea684166ebde05a8d4be54664e0e6ce /libc/signal/sigaction.c | |
parent | ca3067b8cec6e7ffd600c92510197df5aedd8606 (diff) |
More hiding, including __mempcpy
Diffstat (limited to 'libc/signal/sigaction.c')
-rw-r--r-- | libc/signal/sigaction.c | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/libc/signal/sigaction.c b/libc/signal/sigaction.c index 5a56ed1e6..0976e827c 100644 --- a/libc/signal/sigaction.c +++ b/libc/signal/sigaction.c @@ -28,17 +28,12 @@ translate it here. */ #include <bits/kernel_sigaction.h> -int __libc_sigaction (int sig, const struct sigaction *act, struct sigaction *oact); - #if defined __NR_rt_sigaction /* If ACT is not NULL, change the action for SIG to *ACT. If OACT is not NULL, put the old action for SIG in *OACT. */ -int -__libc_sigaction (sig, act, oact) - int sig; - const struct sigaction *act; - struct sigaction *oact; +int attribute_hidden +__sigaction_internal (int sig, const struct sigaction *act, struct sigaction *oact) { int result; struct kernel_sigaction kact, koact; @@ -74,11 +69,8 @@ __libc_sigaction (sig, act, oact) /* If ACT is not NULL, change the action for SIG to *ACT. If OACT is not NULL, put the old action for SIG in *OACT. */ -int -__libc_sigaction (sig, act, oact) - int sig; - const struct sigaction *act; - struct sigaction *oact; +int attribute_hidden +__sigaction_internal (int sig, const struct sigaction *act, struct sigaction *oact) { int result; struct old_kernel_sigaction kact, koact; @@ -110,5 +102,6 @@ __libc_sigaction (sig, act, oact) #endif -weak_alias (__libc_sigaction, __sigaction) -weak_alias (__libc_sigaction, sigaction) +strong_alias(__sigaction_internal,__libc_sigaction) +weak_alias(__sigaction_internal,__sigaction) +weak_alias(__sigaction_internal,sigaction) |