summaryrefslogtreecommitdiff
path: root/include/signal.h
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-12 21:56:14 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:22 +0200
commitdb19d8d0a9b2ad0cd805944042137de166c4c94d (patch)
tree2ac5dd4d497c018085acddf677ab6d0e07783cb8 /include/signal.h
parentd2b80a39961efbebeda9f4543179c11d4d6a0b26 (diff)
signal.h: provide prototype for __libc_sigaction and remove all others
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'include/signal.h')
-rw-r--r--include/signal.h3
1 files changed, 3 insertions, 0 deletions
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));