From db19d8d0a9b2ad0cd805944042137de166c4c94d Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sat, 12 Mar 2011 21:56:14 +0100 Subject: signal.h: provide prototype for __libc_sigaction and remove all others Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/arm/sigaction.c | 2 -- libc/sysdeps/linux/avr32/sigaction.c | 2 -- libc/sysdeps/linux/c6x/sigaction.c | 2 -- libc/sysdeps/linux/i386/sigaction.c | 3 --- libc/sysdeps/linux/mips/sigaction.c | 3 --- libc/sysdeps/linux/x86_64/sigaction.c | 3 --- 6 files changed, 15 deletions(-) (limited to 'libc/sysdeps/linux') diff --git a/libc/sysdeps/linux/arm/sigaction.c b/libc/sysdeps/linux/arm/sigaction.c index 4fd23c5f7..fdb486419 100644 --- a/libc/sysdeps/linux/arm/sigaction.c +++ b/libc/sysdeps/linux/arm/sigaction.c @@ -29,8 +29,6 @@ extern void __default_sa_restorer(void); extern void __default_rt_sa_restorer(void); -extern __typeof(sigaction) __libc_sigaction; - /* When RT signals are in use we need to use a different return stub. */ #ifdef __NR_rt_sigreturn #define choose_restorer(flags) \ diff --git a/libc/sysdeps/linux/avr32/sigaction.c b/libc/sysdeps/linux/avr32/sigaction.c index f5e586c9a..f82d109df 100644 --- a/libc/sysdeps/linux/avr32/sigaction.c +++ b/libc/sysdeps/linux/avr32/sigaction.c @@ -14,8 +14,6 @@ #define SA_RESTORER 0x04000000 extern void __default_rt_sa_restorer(void); -extern __typeof(sigaction) __libc_sigaction; - /* * 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. diff --git a/libc/sysdeps/linux/c6x/sigaction.c b/libc/sysdeps/linux/c6x/sigaction.c index c65a85dc7..38f8204b4 100644 --- a/libc/sysdeps/linux/c6x/sigaction.c +++ b/libc/sysdeps/linux/c6x/sigaction.c @@ -31,8 +31,6 @@ #define SA_RESTORER 0x04000000 -extern __typeof(sigaction) __libc_sigaction; - extern void restore_rt(void) __asm__ ("__restore_rt") attribute_hidden; extern void restore(void) __asm__ ("__restore") attribute_hidden; diff --git a/libc/sysdeps/linux/i386/sigaction.c b/libc/sysdeps/linux/i386/sigaction.c index a6a22de0a..1013fda0c 100644 --- a/libc/sysdeps/linux/i386/sigaction.c +++ b/libc/sysdeps/linux/i386/sigaction.c @@ -27,9 +27,6 @@ #define SA_RESTORER 0x04000000 -extern __typeof(sigaction) __libc_sigaction; - - #if defined __NR_rt_sigaction extern void restore_rt(void) __asm__ ("__restore_rt") attribute_hidden; diff --git a/libc/sysdeps/linux/mips/sigaction.c b/libc/sysdeps/linux/mips/sigaction.c index bb07eee41..e6e1d69c2 100644 --- a/libc/sysdeps/linux/mips/sigaction.c +++ b/libc/sysdeps/linux/mips/sigaction.c @@ -27,9 +27,6 @@ #define SA_RESTORER 0x04000000 -extern __typeof(sigaction) __libc_sigaction; - - #ifdef __NR_rt_sigaction # if _MIPS_SIM != _ABIO32 diff --git a/libc/sysdeps/linux/x86_64/sigaction.c b/libc/sysdeps/linux/x86_64/sigaction.c index 74e81a877..17b272ce1 100644 --- a/libc/sysdeps/linux/x86_64/sigaction.c +++ b/libc/sysdeps/linux/x86_64/sigaction.c @@ -30,9 +30,6 @@ /* We do not globally define the SA_RESTORER flag so do it here. */ #define SA_RESTORER 0x04000000 -extern __typeof(sigaction) __libc_sigaction; - - #ifdef __NR_rt_sigaction /* Using the hidden attribute here does not change the code but it -- cgit v1.2.3