svn commit: trunk/uClibc/libc/sysdeps/linux/mips

vapier at uclibc.org vapier at uclibc.org
Wed Nov 30 03:11:32 UTC 2005


Author: vapier
Date: 2005-11-29 19:11:25 -0800 (Tue, 29 Nov 2005)
New Revision: 12584

Log:
fix warning using glibc method

Modified:
   trunk/uClibc/libc/sysdeps/linux/mips/sigaction.c


Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/mips/sigaction.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/mips/sigaction.c	2005-11-30 03:10:55 UTC (rev 12583)
+++ trunk/uClibc/libc/sysdeps/linux/mips/sigaction.c	2005-11-30 03:11:25 UTC (rev 12584)
@@ -73,8 +73,7 @@
 
 
 #else
-#warning "Yes there is a warning here.  Don't worry about it."
-static void restore (void) asm ("__restore");
+extern void restore (void) asm ("__restore") attribute_hidden;
 
 /* 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.  */
@@ -120,4 +119,3 @@
 
 #endif
 weak_alias (__libc_sigaction, sigaction)
-




More information about the uClibc-cvs mailing list