svn commit: branches/uClibc-nptl/libc/signal

sjhill at uclibc.org sjhill at uclibc.org
Sat Dec 10 17:57:58 UTC 2005


Author: sjhill
Date: 2005-12-10 09:57:54 -0800 (Sat, 10 Dec 2005)
New Revision: 12816

Log:
Fix up sigaction for NPTL.


Modified:
   branches/uClibc-nptl/libc/signal/sigaction.c


Changeset:
Modified: branches/uClibc-nptl/libc/signal/sigaction.c
===================================================================
--- branches/uClibc-nptl/libc/signal/sigaction.c	2005-12-10 17:35:34 UTC (rev 12815)
+++ branches/uClibc-nptl/libc/signal/sigaction.c	2005-12-10 17:57:54 UTC (rev 12816)
@@ -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 @@
 
 /* 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 @@
 #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




More information about the uClibc-cvs mailing list