From 51dd97589cb1504343cd6344cc39f6135fddb055 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 30 Nov 2005 03:11:25 +0000 Subject: fix warning using glibc method --- libc/sysdeps/linux/mips/sigaction.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libc/sysdeps/linux/mips/sigaction.c') 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) - -- cgit v1.2.3