From 1a90c75e47052d5b2360f038a822d5cac6a2e1a0 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Tue, 24 Jan 2006 17:42:25 +0000 Subject: use __typeof for all __libc_x prototypes, do not need __sigaction/__vfork --- libpthread/linuxthreads.old/signals.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libpthread/linuxthreads.old/signals.c') 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 /* 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) { } -- cgit v1.2.3