summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_wait.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread/thread/thr_wait.c')
-rw-r--r--lib/libpthread/thread/thr_wait.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libpthread/thread/thr_wait.c b/lib/libpthread/thread/thr_wait.c
index c34d997..9482586 100644
--- a/lib/libpthread/thread/thr_wait.c
+++ b/lib/libpthread/thread/thr_wait.c
@@ -29,12 +29,13 @@
* $FreeBSD$
*/
-#ifdef _THREAD_SAFE
#include <pthread.h>
#include "pthread_private.h"
+#pragma weak wait=_wait
+
pid_t
-wait(int *istat)
+_wait(int *istat)
{
pid_t ret;
@@ -44,4 +45,3 @@ wait(int *istat)
return ret;
}
-#endif
OpenPOWER on IntegriCloud