[git commit] signal.h: disable sigreturn prototype

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Fri Jun 15 12:00:26 UTC 2012


commit: http://git.uclibc.org/uClibc/commit/?id=2f205af9bbc51605de8aa54edaa01387a55d187b
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

sigreturn is an internal linux specific function and is not exported

Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 include/signal.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/signal.h b/include/signal.h
index 5f56612..f775a57 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.  */
 


More information about the uClibc-cvs mailing list