diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-11-30 03:11:25 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-11-30 03:11:25 +0000 |
commit | 51dd97589cb1504343cd6344cc39f6135fddb055 (patch) | |
tree | 0e189d09a16ba96b099db403058eca326d49a194 /libc/sysdeps/linux/mips | |
parent | 57f63db72a6cc9a2b75a6d9b87b715fff06ae1b1 (diff) |
fix warning using glibc method
Diffstat (limited to 'libc/sysdeps/linux/mips')
-rw-r--r-- | libc/sysdeps/linux/mips/sigaction.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/mips/sigaction.c b/libc/sysdeps/linux/mips/sigaction.c index 79bbdae5e..de35edf40 100644 --- a/libc/sysdeps/linux/mips/sigaction.c +++ b/libc/sysdeps/linux/mips/sigaction.c @@ -73,8 +73,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 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 @@ int __libc_sigaction (int sig, const struct sigaction *act, struct sigaction *oa #endif weak_alias (__libc_sigaction, sigaction) - |