diff options
author | deischen <deischen@FreeBSD.org> | 2002-10-31 18:17:58 +0000 |
---|---|---|
committer | deischen <deischen@FreeBSD.org> | 2002-10-31 18:17:58 +0000 |
commit | 8733b4b7262ed74e9893c334f7b329d05d566205 (patch) | |
tree | 01ed13c3104312004089868f44241bf38fc655c0 /lib/libc_r/uthread/uthread_mutex.c | |
parent | c16ad036041c3dedc3a3556449e35f0b343b575b (diff) | |
download | FreeBSD-src-8733b4b7262ed74e9893c334f7b329d05d566205.zip FreeBSD-src-8733b4b7262ed74e9893c334f7b329d05d566205.tar.gz |
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
Diffstat (limited to 'lib/libc_r/uthread/uthread_mutex.c')
-rw-r--r-- | lib/libc_r/uthread/uthread_mutex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc_r/uthread/uthread_mutex.c b/lib/libc_r/uthread/uthread_mutex.c index 86e0b8b..7951815 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; |