summaryrefslogtreecommitdiff
path: root/include/signal.h
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-16 22:29:59 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:26 +0200
commit2f205af9bbc51605de8aa54edaa01387a55d187b (patch)
tree7c115d01102aa6bc46d5cf5def2df67f82c0bc5b /include/signal.h
parent923a7a3173cd5fd3acd9f6b443ce062c026dea9e (diff)
signal.h: disable sigreturn prototype
sigreturn is an internal linux specific function and is not exported 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/signal.h b/include/signal.h
index 5f566120f..f775a5755 100644
--- a/include/signal.h
+++ b/include/signal.h
@@ -397,8 +397,10 @@ extern int sigvec (int __sig, __const struct sigvec *__vec,
/* Get machine-dependent `struct sigcontext' and signal subcodes. */
# include <bits/sigcontext.h>
+#if 0
/* Restore the state saved in SCP. */
extern int sigreturn (struct sigcontext *__scp) __THROW;
+#endif
#endif /* use BSD. */