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_cond.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_cond.c')
-rw-r--r-- | lib/libthr/thread/thr_cond.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libthr/thread/thr_cond.c b/lib/libthr/thread/thr_cond.c index cd50c4d..108047d 100644 --- a/lib/libthr/thread/thr_cond.c +++ b/lib/libthr/thread/thr_cond.c @@ -26,17 +26,22 @@ * $FreeBSD$ */ +#include "namespace.h" #include <stdlib.h> #include <errno.h> #include <string.h> #include <pthread.h> #include <limits.h> +#include "un-namespace.h" #include "thr_private.h" /* * Prototypes */ +int __pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex); +int __pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex, + const struct timespec * abstime); static int cond_init(pthread_cond_t *cond, const pthread_condattr_t *attr); static int cond_wait_common(pthread_cond_t *cond, pthread_mutex_t *mutex, const struct timespec *abstime, int cancel); |