|
@@ -29,9 +29,8 @@
|
|
|
|
|
|
|
|
|
#if defined __NR_rt_sigaction
|
|
|
-#warning "Yes there are two warnings here. Don't worry about it."
|
|
|
-static void restore_rt (void) asm ("__restore_rt");
|
|
|
-static void restore (void) asm ("__restore");
|
|
|
+extern void restore_rt (void) asm ("__restore_rt") attribute_hidden;
|
|
|
+extern void restore (void) asm ("__restore") attribute_hidden;
|
|
|
|
|
|
|
|
|
If OACT is not NULL, put the old action for SIG in *OACT. */
|
|
@@ -73,8 +72,7 @@ int __libc_sigaction (int sig, const struct sigaction *act, struct sigaction *oa
|
|
|
|
|
|
|
|
|
#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 OACT is not NULL, put the old action for SIG in *OACT. */
|