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 /include/pthread/pthread.h | |
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 'include/pthread/pthread.h')
-rw-r--r-- | include/pthread/pthread.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/pthread/pthread.h b/include/pthread/pthread.h index cf23d07..8b25811 100644 --- a/include/pthread/pthread.h +++ b/include/pthread/pthread.h @@ -420,31 +420,31 @@ extern int pthread_spin_unlock (pthread_spinlock_t *__lock); # ifdef __USE_EXTERN_INLINES -extern inline int +extern __inline int pthread_spin_destroy (pthread_spinlock_t *__lock) { return __pthread_spin_destroy (__lock); } -extern inline int +extern __inline int pthread_spin_init (pthread_spinlock_t *__lock, int __pshared) { return __pthread_spin_init (__lock, __pshared); } -extern inline int +extern __inline int pthread_spin_lock (pthread_spinlock_t *__lock) { return __pthread_spin_lock (__lock); } -extern inline int +extern __inline int pthread_spin_trylock (pthread_spinlock_t *__lock) { return __pthread_spin_trylock (__lock); } -extern inline int +extern __inline int pthread_spin_unlock (pthread_spinlock_t *__lock) { return __pthread_spin_unlock (__lock); |