From 5b273df4c3516dbb419140be7f98da3d8c0ac40b Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sat, 12 Mar 2011 20:36:47 +0100 Subject: signal.h: disable sigvec() and guard related stuff with STRICT_HEADERS Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- include/signal.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/signal.h') diff --git a/include/signal.h b/include/signal.h index dc8679477..f2eb35527 100644 --- a/include/signal.h +++ b/include/signal.h @@ -346,6 +346,7 @@ extern int sigqueue (__pid_t __pid, int __sig, __const union sigval __val) extern __const char *__const sys_siglist[_NSIG]; # endif +#ifndef __UCLIBC_STRICT_HEADERS__ /* Structure passed to `sigvec'. */ struct sigvec { @@ -360,8 +361,10 @@ struct sigvec # define SV_ONSTACK (1 << 0)/* Take the signal on the signal stack. */ # define SV_INTERRUPT (1 << 1)/* Do not restart system calls. */ # define SV_RESETHAND (1 << 2)/* Reset handler to SIG_DFL on receipt. */ +#endif +#if 0 /* If VEC is non-NULL, set the handler for SIG to the `sv_handler' member of VEC. The signals in `sv_mask' will be blocked while the handler runs. If the SV_RESETHAND bit is set in `sv_flags', the handler for SIG will be @@ -369,6 +372,7 @@ struct sigvec it is filled in with the old information for SIG. */ extern int sigvec (int __sig, __const struct sigvec *__vec, struct sigvec *__ovec) __THROW; +#endif /* Get machine-dependent `struct sigcontext' and signal subcodes. */ -- cgit v1.2.3