From 70f1d42b13a741f603472f405299e5d2938aa728 Mon Sep 17 00:00:00 2001 From: Austin Foxley Date: Sat, 13 Feb 2010 16:48:23 -0800 Subject: sparc/sigaction: revert change. These semantics are needed for nptl Signed-off-by: Austin Foxley --- libc/sysdeps/linux/sparc/sigaction.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'libc') diff --git a/libc/sysdeps/linux/sparc/sigaction.c b/libc/sysdeps/linux/sparc/sigaction.c index 7140fd3a4..a22ac40af 100644 --- a/libc/sysdeps/linux/sparc/sigaction.c +++ b/libc/sysdeps/linux/sparc/sigaction.c @@ -34,8 +34,7 @@ _syscall5(int, rt_sigaction, int, a, int, b, int, c, int, d, int, e); static void __rt_sigreturn_stub(void); static void __sigreturn_stub(void); -libc_hidden_proto(sigaction) -int sigaction(int sig, const struct sigaction *act, struct sigaction *oact) +int __libc_sigaction(int sig, const struct sigaction *act, struct sigaction *oact) { int ret; struct sigaction kact, koact; @@ -66,8 +65,10 @@ int sigaction(int sig, const struct sigaction *act, struct sigaction *oact) return ret; } -libc_hidden_def(sigaction) -weak_alias(sigaction,__libc_sigaction) +#ifndef LIBC_SIGACTION +weak_alias(__libc_sigaction,sigaction) +libc_hidden_weak(sigaction) +#endif static void __rt_sigreturn_stub(void) -- cgit v1.2.3