summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads.old/signals.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/linuxthreads.old/signals.c')
-rw-r--r--libpthread/linuxthreads.old/signals.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libpthread/linuxthreads.old/signals.c b/libpthread/linuxthreads.old/signals.c
index c862ebd52..62dd9b503 100644
--- a/libpthread/linuxthreads.old/signals.c
+++ b/libpthread/linuxthreads.old/signals.c
@@ -24,7 +24,7 @@
#include <bits/sigcontextinfo.h>
/* mods for uClibc: __libc_sigaction is not in any standard headers */
-extern int __libc_sigaction (int sig, const struct sigaction *act, struct sigaction *oact);
+extern __typeof(sigaction) __libc_sigaction;
int pthread_sigmask(int how, const sigset_t * newmask, sigset_t * oldmask)
{
@@ -131,7 +131,7 @@ static void pthread_sighandler_rt(int signo, struct siginfo *si,
/* The wrapper around sigaction. Install our own signal handler
around the signal. */
-int __sigaction(int sig, const struct sigaction * act,
+int sigaction(int sig, const struct sigaction * act,
struct sigaction * oact)
{
struct sigaction newact;
@@ -175,7 +175,6 @@ printf(__FUNCTION__": sighandler installed, __sigaction successful\n");
}
return 0;
}
-strong_alias(__sigaction, sigaction)
/* A signal handler that does nothing */
static void pthread_null_sighandler(int sig attribute_unused) { }