diff options
| author | Daniel Eischen <deischen@FreeBSD.org> | 2001-04-10 04:19:21 +0000 |
|---|---|---|
| committer | Daniel Eischen <deischen@FreeBSD.org> | 2001-04-10 04:19:21 +0000 |
| commit | 437df4859af22264a2c620a3720c776bf0c4a58d (patch) | |
| tree | 953269f13c394f2d6c6b0aa9a73344d82f509fc2 /lib/libpthread/thread/thr_mutex.c | |
| parent | 54fd7f685f42878f99a2e2d8428d084f9b1125ab (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_mutex.c')
| -rw-r--r-- | lib/libpthread/thread/thr_mutex.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libpthread/thread/thr_mutex.c b/lib/libpthread/thread/thr_mutex.c index 27377f3bf408..0f67b4b01965 100644 --- a/lib/libpthread/thread/thr_mutex.c +++ b/lib/libpthread/thread/thr_mutex.c @@ -79,13 +79,13 @@ static struct pthread_mutex_attr static_mutex_attr = static pthread_mutexattr_t static_mattr = &static_mutex_attr; /* Single underscore versions provided for libc internal usage: */ -#pragma weak pthread_mutex_trylock=__pthread_mutex_trylock -#pragma weak pthread_mutex_lock=__pthread_mutex_lock +__weak_reference(__pthread_mutex_trylock, pthread_mutex_trylock); +__weak_reference(__pthread_mutex_lock, pthread_mutex_lock); /* No difference between libc and application usage of these: */ -#pragma weak pthread_mutex_init=_pthread_mutex_init -#pragma weak pthread_mutex_destroy=_pthread_mutex_destroy -#pragma weak pthread_mutex_unlock=_pthread_mutex_unlock +__weak_reference(_pthread_mutex_init, pthread_mutex_init); +__weak_reference(_pthread_mutex_destroy, pthread_mutex_destroy); +__weak_reference(_pthread_mutex_unlock, pthread_mutex_unlock); /* Reinitialize a mutex to defaults. */ |
