From 0ece26b0ba4642dfcc12d2cb9965e30f8e38be6f Mon Sep 17 00:00:00 2001 From: Daniel Eischen Date: Thu, 31 Oct 2002 18:17:58 +0000 Subject: [PATCH] Use the strong symbol'd version of pthread_mutex_init so we don't accidentally call a stub or application provided version of the same routine. Submitted by: dfr --- lib/libc_r/uthread/uthread_mutex.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libc_r/uthread/uthread_mutex.c b/lib/libc_r/uthread/uthread_mutex.c index 86e0b8bf324..7951815d3d7 100644 --- a/lib/libc_r/uthread/uthread_mutex.c +++ b/lib/libc_r/uthread/uthread_mutex.c @@ -266,7 +266,7 @@ init_static(pthread_mutex_t *mutex) _SPINLOCK(&static_init_lock); if (*mutex == NULL) - ret = pthread_mutex_init(mutex, NULL); + ret = _pthread_mutex_init(mutex, NULL); else ret = 0; @@ -283,7 +283,7 @@ init_static_private(pthread_mutex_t *mutex) _SPINLOCK(&static_init_lock); if (*mutex == NULL) - ret = pthread_mutex_init(mutex, &static_mattr); + ret = _pthread_mutex_init(mutex, &static_mattr); else ret = 0;