diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-24 17:42:25 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-24 17:42:25 +0000 |
commit | 1a90c75e47052d5b2360f038a822d5cac6a2e1a0 (patch) | |
tree | d42bbcd97cedad82db769b259fd3c43ac1c14562 /libpthread/linuxthreads.old/signals.c | |
parent | b0403788201afc178b376735f889c3790efc2a06 (diff) |
use __typeof for all __libc_x prototypes, do not need __sigaction/__vfork
Diffstat (limited to 'libpthread/linuxthreads.old/signals.c')
-rw-r--r-- | libpthread/linuxthreads.old/signals.c | 5 |
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) { } |