From db19d8d0a9b2ad0cd805944042137de166c4c94d Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sat, 12 Mar 2011 21:56:14 +0100 Subject: signal.h: provide prototype for __libc_sigaction and remove all others Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- include/signal.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/signal.h b/include/signal.h index f2eb35527..a0b3edc1a 100644 --- a/include/signal.h +++ b/include/signal.h @@ -290,7 +290,10 @@ libc_hidden_proto(sigsuspend) /* Get and/or set the action for signal SIG. */ extern int sigaction (int __sig, __const struct sigaction *__restrict __act, struct sigaction *__restrict __oact) __THROW; +#ifdef _LIBC +extern __typeof(sigaction) __libc_sigaction; libc_hidden_proto(sigaction) +#endif /* Put in SET all signals that are blocked and waiting to be delivered. */ extern int sigpending (sigset_t *__set) __THROW __nonnull ((1)); -- cgit v1.2.3