diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-03-12 20:36:47 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:21 +0200 |
commit | 5b273df4c3516dbb419140be7f98da3d8c0ac40b (patch) | |
tree | 2065ef1245d95961d59cb36372d7a1cb9d39d167 /include/signal.h | |
parent | 095028ece7126ae09cf5276d8a6fbfa6af5f0fba (diff) |
signal.h: disable sigvec() and guard related stuff with STRICT_HEADERS
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.h | 4 |
1 files changed, 4 insertions, 0 deletions
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. */ |