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 /libpthread | |
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 'libpthread')
-rw-r--r-- | libpthread/linuxthreads.old/pthread.c | 2 | ||||
-rw-r--r-- | libpthread/linuxthreads.old/signals.c | 3 | ||||
-rw-r--r-- | libpthread/linuxthreads/pthread.c | 3 | ||||
-rw-r--r-- | libpthread/linuxthreads/signals.c | 3 | ||||
-rw-r--r-- | libpthread/nptl/init.c | 1 |
5 files changed, 0 insertions, 12 deletions
diff --git a/libpthread/linuxthreads.old/pthread.c b/libpthread/linuxthreads.old/pthread.c index 75eb2522f..740877f9d 100644 --- a/libpthread/linuxthreads.old/pthread.c +++ b/libpthread/linuxthreads.old/pthread.c @@ -36,8 +36,6 @@ #include <sys/types.h> #include <sys/syscall.h> -/* mods for uClibc: __libc_sigaction is not in any standard headers */ -extern __typeof(sigaction) __libc_sigaction; libpthread_hidden_proto(waitpid) libpthread_hidden_proto(raise) diff --git a/libpthread/linuxthreads.old/signals.c b/libpthread/linuxthreads.old/signals.c index 23d838eb8..d8dbc78bd 100644 --- a/libpthread/linuxthreads.old/signals.c +++ b/libpthread/linuxthreads.old/signals.c @@ -22,9 +22,6 @@ #include "spinlock.h" #include <bits/sigcontextinfo.h> -/* mods for uClibc: __libc_sigaction is not in any standard headers */ -extern __typeof(sigaction) __libc_sigaction; - int pthread_sigmask(int how, const sigset_t * newmask, sigset_t * oldmask) { sigset_t mask; diff --git a/libpthread/linuxthreads/pthread.c b/libpthread/linuxthreads/pthread.c index 66efe3a25..ade21dc1a 100644 --- a/libpthread/linuxthreads/pthread.c +++ b/libpthread/linuxthreads/pthread.c @@ -37,9 +37,6 @@ # error "This must not happen" #endif -/* mods for uClibc: __libc_sigaction is not in any standard headers */ -extern __typeof(sigaction) __libc_sigaction; - #if !(USE_TLS && HAVE___THREAD) /* These variables are used by the setup code. */ extern int _errno; diff --git a/libpthread/linuxthreads/signals.c b/libpthread/linuxthreads/signals.c index 61b411aba..672b8e4d9 100644 --- a/libpthread/linuxthreads/signals.c +++ b/libpthread/linuxthreads/signals.c @@ -20,9 +20,6 @@ #include "internals.h" #include "spinlock.h" -/* mods for uClibc: __libc_sigaction is not in any standard headers */ -extern __typeof(sigaction) __libc_sigaction; - int pthread_sigmask(int how, const sigset_t * newmask, sigset_t * oldmask) { sigset_t mask; diff --git a/libpthread/nptl/init.c b/libpthread/nptl/init.c index c8ca09637..379c4bb24 100644 --- a/libpthread/nptl/init.c +++ b/libpthread/nptl/init.c @@ -35,7 +35,6 @@ #include <lowlevellock.h> #include <bits/kernel-features.h> #include <stdio.h> -extern __typeof(sigaction) __libc_sigaction; /* Size and alignment of static TLS block. */ size_t __static_tls_size; |