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_single_np.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_single_np.c')
-rw-r--r-- | lib/libthr/thread/thr_single_np.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libthr/thread/thr_single_np.c b/lib/libthr/thread/thr_single_np.c index c8e5a94..c74fc55 100644 --- a/lib/libthr/thread/thr_single_np.c +++ b/lib/libthr/thread/thr_single_np.c @@ -32,8 +32,10 @@ * $FreeBSD$ */ +#include "namespace.h" #include <pthread.h> #include <pthread_np.h> +#include "un-namespace.h" __weak_reference(_pthread_single_np, pthread_single_np); @@ -41,7 +43,7 @@ int _pthread_single_np() { /* Enter single-threaded (non-POSIX) scheduling mode: */ - pthread_suspend_all_np(); + _pthread_suspend_all_np(); /* * XXX - Do we want to do this? * __is_threaded = 0; |