diff options
Diffstat (limited to 'lib/libpthread/thread/thr_equal.c')
-rw-r--r-- | lib/libpthread/thread/thr_equal.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libpthread/thread/thr_equal.c b/lib/libpthread/thread/thr_equal.c index e03ba4a..334d023 100644 --- a/lib/libpthread/thread/thr_equal.c +++ b/lib/libpthread/thread/thr_equal.c @@ -31,14 +31,14 @@ * * $FreeBSD$ */ -#ifdef _THREAD_SAFE #include <pthread.h> #include "pthread_private.h" +#pragma weak pthread_equal=_pthread_equal + int -pthread_equal(pthread_t t1, pthread_t t2) +_pthread_equal(pthread_t t1, pthread_t t2) { /* Compare the two thread pointers: */ return (t1 == t2); } -#endif |