|
@@ -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) { }
|