diff options
Diffstat (limited to 'sysdeps/mach/bits')
-rw-r--r-- | sysdeps/mach/bits/spin-lock.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/mach/bits/spin-lock.h b/sysdeps/mach/bits/spin-lock.h index e137c244..031e9cec 100644 --- a/sysdeps/mach/bits/spin-lock.h +++ b/sysdeps/mach/bits/spin-lock.h @@ -41,7 +41,7 @@ typedef __spin_lock_t __pthread_spinlock_t; # endif # ifndef __PT_SPIN_INLINE -# define __PT_SPIN_INLINE extern __inline +# define __PT_SPIN_INLINE __extern_inline # endif __PT_SPIN_INLINE int __pthread_spin_destroy (__pthread_spinlock_t *__lock); @@ -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)) |