summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/pthread/sigaction.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-06-11 19:22:42 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-06-11 19:22:42 +0200
commit13433395f2fd808006cd07b05b79cae193c6ecb9 (patch)
treec0b8784782610e4e15c256f70008943ae7d75a6a /libpthread/nptl/sysdeps/pthread/sigaction.c
parent8642c931a3ef2e944871b32b293df872eb7a1ae0 (diff)
silence some warnings about missing prototypes
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libpthread/nptl/sysdeps/pthread/sigaction.c')
-rw-r--r--libpthread/nptl/sysdeps/pthread/sigaction.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libpthread/nptl/sysdeps/pthread/sigaction.c b/libpthread/nptl/sysdeps/pthread/sigaction.c
index 20cff8941..e004a3903 100644
--- a/libpthread/nptl/sysdeps/pthread/sigaction.c
+++ b/libpthread/nptl/sysdeps/pthread/sigaction.c
@@ -26,9 +26,7 @@
#define LIBC_SIGACTION 1
#include <sigaction.c>
-int
-sigaction (int sig, const struct sigaction *act, struct sigaction *oact);
-
+extern __typeof(sigaction) __sigaction;
int
__sigaction (int sig, const struct sigaction *act, struct sigaction *oact)
{