summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sysdeps/pthread/sigaction.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2006-08-21 04:26:01 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2006-08-21 04:26:01 +0000
commit4bdddc9cbfda2acc3da87f7565baca9307ab92f7 (patch)
treeddbbc7e72d72bf78d80f000163011d0c36a07aea /libpthread/nptl/sysdeps/pthread/sigaction.c
parentc1a6053c890d37c25fce66ffc65a4ede77093ee0 (diff)
downloaduClibc-alpine-4bdddc9cbfda2acc3da87f7565baca9307ab92f7.tar.bz2
uClibc-alpine-4bdddc9cbfda2acc3da87f7565baca9307ab92f7.tar.xz
Finally check in all the changes I made for NPTL library proper.
Diffstat (limited to 'libpthread/nptl/sysdeps/pthread/sigaction.c')
-rw-r--r--libpthread/nptl/sysdeps/pthread/sigaction.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/libpthread/nptl/sysdeps/pthread/sigaction.c b/libpthread/nptl/sysdeps/pthread/sigaction.c
index 7524b3e34..17443654d 100644
--- a/libpthread/nptl/sysdeps/pthread/sigaction.c
+++ b/libpthread/nptl/sysdeps/pthread/sigaction.c
@@ -31,10 +31,7 @@
# include <sigaction.c>
int
-__sigaction (sig, act, oact)
- int sig;
- const struct sigaction *act;
- struct sigaction *oact;
+__sigaction (int sig, const struct sigaction *act, struct sigaction *oact)
{
if (__builtin_expect (sig == SIGCANCEL || sig == SIGSETXID, 0))
{
@@ -44,7 +41,8 @@ __sigaction (sig, act, oact)
return __libc_sigaction (sig, act, oact);
}
-hidden_weak_alias(__sigaction, sigaction)
+libc_hidden_weak (__sigaction)
+weak_alias (__sigaction, sigaction)
#else