summaryrefslogtreecommitdiffstats
path: root/libc
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-12-10 17:57:54 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-12-10 17:57:54 +0000
commit06d2e6506c77f69bac3179347dae0e8d66ec0bb3 (patch)
treee32499f2d64536be7fc47ca84c81fce56b6e925e /libc
parent7fe677c6d31a6fd854eaf64609d72b8613ca36ea (diff)
downloaduClibc-alpine-06d2e6506c77f69bac3179347dae0e8d66ec0bb3.tar.bz2
uClibc-alpine-06d2e6506c77f69bac3179347dae0e8d66ec0bb3.tar.xz
Fix up sigaction for NPTL.
Diffstat (limited to 'libc')
-rw-r--r--libc/signal/sigaction.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/libc/signal/sigaction.c b/libc/signal/sigaction.c
index 5f926c0b8..5336b7609 100644
--- a/libc/signal/sigaction.c
+++ b/libc/signal/sigaction.c
@@ -32,8 +32,8 @@
/* 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 attribute_hidden
-__sigaction_internal (int sig, const struct sigaction *act, struct sigaction *oact)
+int
+__libc_sigaction (int sig, const struct sigaction *act, struct sigaction *oact)
{
int result;
struct kernel_sigaction kact, koact;
@@ -69,8 +69,8 @@ __sigaction_internal (int sig, const struct sigaction *act, struct sigaction *oa
/* 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 attribute_hidden
-__sigaction_internal (int sig, const struct sigaction *act, struct sigaction *oact)
+int
+__libc_sigaction (int sig, const struct sigaction *act, struct sigaction *oact)
{
int result;
struct old_kernel_sigaction kact, koact;
@@ -103,7 +103,6 @@ __sigaction_internal (int sig, const struct sigaction *act, struct sigaction *oa
#endif
#ifndef LIBC_SIGACTION
-strong_alias(__sigaction_internal,__libc_sigaction)
-weak_alias(__sigaction_internal,__sigaction)
-weak_alias(__sigaction_internal,sigaction)
+hidden_weak_alias(__libc_sigaction,__sigaction)
+weak_alias(__libc_sigaction,sigaction)
#endif