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 | f2b09556f28624f7428cbf6184f4836dad4009bf (patch) | |
tree | 2aec12448858d67518541a8d8654871766c65408 /sysdeps/generic/bits/mutex.h | |
parent | 7d0bdd972bff821d9424c24f0046b7b5cdb2ac5d (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/generic/bits/mutex.h')
-rw-r--r-- | sysdeps/generic/bits/mutex.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/generic/bits/mutex.h b/sysdeps/generic/bits/mutex.h index 2baf0408..9958b8d1 100644 --- a/sysdeps/generic/bits/mutex.h +++ b/sysdeps/generic/bits/mutex.h @@ -108,7 +108,7 @@ __pthread_mutex_lock (struct __pthread_mutex *__mutex) return _pthread_mutex_lock (__mutex); } -extern inline int +extern __inline int __pthread_mutex_trylock (struct __pthread_mutex *__mutex) { extern int _pthread_mutex_trylock (struct __pthread_mutex *); @@ -120,13 +120,13 @@ __pthread_mutex_trylock (struct __pthread_mutex *__mutex) return _pthread_mutex_trylock (__mutex); } -extern inline int +extern __inline int pthread_mutex_lock (struct __pthread_mutex *__mutex) { return __pthread_mutex_lock (__mutex); } -extern inline int +extern __inline int pthread_mutex_trylock (struct __pthread_mutex *__mutex) { return __pthread_mutex_trylock (__mutex); |