diff options
author | Neal H. Walfield <neal@gnu.org> | 2005-01-18 09:57:35 +0000 |
---|---|---|
committer | Neal H. Walfield <neal@gnu.org> | 2005-01-18 09:57:35 +0000 |
commit | a0cc53efb171fceddc40bae4568cff3e7b17a31b (patch) | |
tree | da3c91fed7fb9e74977b6eecc16acd932885f397 /sysdeps/mach | |
parent | 78e9767210adc52f8c5ea997bdc8d18b4b7812a5 (diff) |
libpthread/
2005-01-12 Pietro Ferrari <pietro@bastardi.net>
* include/pthread/pthread.h (pthread_spin_destroy): Replace extern
inline with extern __inline.
(pthread_spin_init): Likewise.
(pthread_spin_lock): Likewise.
(pthread_spin_trylock): Likewise.
(pthread_spin_unlock): Likewise.
* sysdeps/mach/bits/spin-lock.h (__pthread_spin_lock): Likewise.
* sysdeps/i386/bits/spin-lock.h (__pthread_spin_lock): Likewise.
* sysdeps/generic/bits/mutex.h (__pthread_mutex_trylock):
Likewise.
(pthread_mutex_lock): Likewise.
(pthread_mutex_trylock): Likewise.
* sysdeps/generic/bits/pthread.h (pthread_equal): Likewise.
Diffstat (limited to 'sysdeps/mach')
-rw-r--r-- | sysdeps/mach/bits/spin-lock.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/bits/spin-lock.h b/sysdeps/mach/bits/spin-lock.h index f295df7..e137c24 100644 --- a/sysdeps/mach/bits/spin-lock.h +++ b/sysdeps/mach/bits/spin-lock.h @@ -70,10 +70,10 @@ __pthread_spin_trylock (__pthread_spinlock_t *__lock) return __spin_try_lock (__lock) ? 0 : __EBUSY; } -extern inline int __pthread_spin_lock (__pthread_spinlock_t *__lock); +extern __inline int __pthread_spin_lock (__pthread_spinlock_t *__lock); extern int _pthread_spin_lock (__pthread_spinlock_t *__lock); -extern inline int +extern __inline int __pthread_spin_lock (__pthread_spinlock_t *__lock) { if (__pthread_spin_trylock (__lock)) |