diff options
author | davidxu <davidxu@FreeBSD.org> | 2006-04-04 02:57:49 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2006-04-04 02:57:49 +0000 |
commit | 31f2b819c68f20ff188724669d3044a0680e3ceb (patch) | |
tree | 3cbec5633c5b1de6974d08e11807ee0ce2110a82 /lib/libthr/thread/thr_sig.c | |
parent | 2cacffb02b10bf82a1a5ee4d88c3092821839d16 (diff) | |
download | FreeBSD-src-31f2b819c68f20ff188724669d3044a0680e3ceb.zip FreeBSD-src-31f2b819c68f20ff188724669d3044a0680e3ceb.tar.gz |
WARNS level 4 cleanup.
Diffstat (limited to 'lib/libthr/thread/thr_sig.c')
-rw-r--r-- | lib/libthr/thread/thr_sig.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/libthr/thread/thr_sig.c b/lib/libthr/thread/thr_sig.c index 71f97a0..865fb72 100644 --- a/lib/libthr/thread/thr_sig.c +++ b/lib/libthr/thread/thr_sig.c @@ -26,6 +26,7 @@ * $FreeBSD$ */ +#include "namespace.h" #include <sys/param.h> #include <sys/types.h> #include <sys/signalvar.h> @@ -35,6 +36,7 @@ #include <unistd.h> #include <string.h> #include <pthread.h> +#include "un-namespace.h" #include "thr_private.h" @@ -45,8 +47,14 @@ #define DBG_MSG(x...) #endif +int __sigtimedwait(const sigset_t *set, siginfo_t *info, + const struct timespec * timeout); +int __sigwaitinfo(const sigset_t *set, siginfo_t *info); +int __sigwait(const sigset_t *set, int *sig); + static void -sigcancel_handler(int sig, siginfo_t *info, ucontext_t *ucp) +sigcancel_handler(int sig __unused, + siginfo_t *info __unused, ucontext_t *ucp __unused) { struct pthread *curthread = _get_curthread(); |