diff options
Diffstat (limited to 'sysdeps/htl/pthread.h')
-rw-r--r-- | sysdeps/htl/pthread.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/sysdeps/htl/pthread.h b/sysdeps/htl/pthread.h index 38c61e8da3..17f82e7180 100644 --- a/sysdeps/htl/pthread.h +++ b/sysdeps/htl/pthread.h @@ -549,42 +549,6 @@ extern int pthread_spin_trylock (pthread_spinlock_t *__lock) extern int pthread_spin_unlock (pthread_spinlock_t *__lock) __nonnull ((1)); -# if defined __USE_EXTERN_INLINES && defined _LIBC - -# include <bits/spin-lock-inline.h> - -__extern_inline int -pthread_spin_destroy (pthread_spinlock_t *__lock) -{ - return __pthread_spin_destroy (__lock); -} - -__extern_inline int -pthread_spin_init (pthread_spinlock_t *__lock, int __pshared) -{ - return __pthread_spin_init (__lock, __pshared); -} - -__extern_inline int -pthread_spin_lock (pthread_spinlock_t *__lock) -{ - return __pthread_spin_lock (__lock); -} - -__extern_inline int -pthread_spin_trylock (pthread_spinlock_t *__lock) -{ - return __pthread_spin_trylock (__lock); -} - -__extern_inline int -pthread_spin_unlock (pthread_spinlock_t *__lock) -{ - return __pthread_spin_unlock (__lock); -} - -# endif /* Use extern inlines. */ - #endif /* XPG6. */ |