summaryrefslogtreecommitdiffstats
path: root/lib/libc_r/uthread/uthread_equal.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc_r/uthread/uthread_equal.c')
-rw-r--r--lib/libc_r/uthread/uthread_equal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc_r/uthread/uthread_equal.c b/lib/libc_r/uthread/uthread_equal.c
index e03ba4a..334d023 100644
--- a/lib/libc_r/uthread/uthread_equal.c
+++ b/lib/libc_r/uthread/uthread_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
OpenPOWER on IntegriCloud