Explorar o código

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>
Peter S. Mazinger %!s(int64=13) %!d(string=hai) anos
pai
achega
2f205af9bb
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      include/signal.h

+ 2 - 0
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.  */