[git commit future 1/1] signal.h: disable sigreturn prototype

Peter S. Mazinger ps.m at gmx.net
Wed Mar 16 19:20:32 UTC 2011


commit: http://git.uclibc.org/uClibc/commit/?id=f13f3d235978e52cd4f6679830680a2da2d808c4
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/future

sigreturn is an internal linux specific function and is not exported

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

diff --git a/include/signal.h b/include/signal.h
index 063014b..624f1c0 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.  */
 
-- 
1.7.3.4



More information about the uClibc-cvs mailing list