diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-03-12 21:56:14 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:22 +0200 |
commit | db19d8d0a9b2ad0cd805944042137de166c4c94d (patch) | |
tree | 2ac5dd4d497c018085acddf677ab6d0e07783cb8 /libc | |
parent | d2b80a39961efbebeda9f4543179c11d4d6a0b26 (diff) |
signal.h: provide prototype for __libc_sigaction and remove all others
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc')
-rw-r--r-- | libc/signal/sigaction.c | 5 | ||||
-rw-r--r-- | libc/sysdeps/linux/arm/sigaction.c | 2 | ||||
-rw-r--r-- | libc/sysdeps/linux/avr32/sigaction.c | 2 | ||||
-rw-r--r-- | libc/sysdeps/linux/c6x/sigaction.c | 2 | ||||
-rw-r--r-- | libc/sysdeps/linux/i386/sigaction.c | 3 | ||||
-rw-r--r-- | libc/sysdeps/linux/mips/sigaction.c | 3 | ||||
-rw-r--r-- | libc/sysdeps/linux/x86_64/sigaction.c | 3 |
7 files changed, 0 insertions, 20 deletions
diff --git a/libc/signal/sigaction.c b/libc/signal/sigaction.c index c725c6125..5a5a60c3a 100644 --- a/libc/signal/sigaction.c +++ b/libc/signal/sigaction.c @@ -24,11 +24,6 @@ #include <bits/kernel_sigaction.h> -#ifndef LIBC_SIGACTION -extern __typeof(sigaction) __libc_sigaction; -#endif - - #if defined __NR_rt_sigaction /* If ACT is not NULL, change the action for SIG to *ACT. 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 |