diff options
Diffstat (limited to 'lib/libkse/thread/thr_single_np.c')
-rw-r--r-- | lib/libkse/thread/thr_single_np.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/libkse/thread/thr_single_np.c b/lib/libkse/thread/thr_single_np.c index 5720006..844adad 100644 --- a/lib/libkse/thread/thr_single_np.c +++ b/lib/libkse/thread/thr_single_np.c @@ -28,21 +28,25 @@ * * $FreeBSD$ */ + +#include "namespace.h" #include <pthread.h> #include <pthread_np.h> - +#include "un-namespace.h" #include "thr_private.h" LT10_COMPAT_PRIVATE(_pthread_single_np); LT10_COMPAT_DEFAULT(pthread_single_np); +int _pthread_single_np(void); + __weak_reference(_pthread_single_np, pthread_single_np); -int _pthread_single_np() +int _pthread_single_np(void) { /* 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; |