1 #define __USE_EXTERN_INLINES 1 2 #define _EXTERN_INLINE /* Empty to define the real functions. */ 3 #include "spin-lock.h" 4 5 weak_alias (__spin_lock_init, spin_lock_init); 6 libc_hidden_def (__spin_lock_locked); 7 weak_alias (__spin_lock_locked, spin_lock_locked); 8 libc_hidden_def (__spin_lock); 9 weak_alias (__spin_lock, spin_lock); 10 libc_hidden_def (__spin_unlock); 11 weak_alias (__spin_unlock, spin_unlock); 12 libc_hidden_def (__spin_try_lock); 13 weak_alias (__spin_try_lock, spin_try_lock); 14 libc_hidden_def (__mutex_lock); 15 libc_hidden_def (__mutex_unlock); 16 libc_hidden_def (__mutex_trylock); 17