mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
hurd: make lll_* take a variable instead of a ptr
To be coherent with other ports, let's make lll_* take a variable, and rename those that keep taking a ptr into __lll_*.
This commit is contained in:
@ -57,7 +57,7 @@ extern void __spin_lock (__spin_lock_t *__lock);
|
||||
_EXTERN_INLINE void
|
||||
__spin_lock (__spin_lock_t *__lock)
|
||||
{
|
||||
lll_lock (__lock, 0);
|
||||
__lll_lock (__lock, 0);
|
||||
}
|
||||
#endif
|
||||
|
||||
@ -68,7 +68,7 @@ extern void __spin_unlock (__spin_lock_t *__lock);
|
||||
_EXTERN_INLINE void
|
||||
__spin_unlock (__spin_lock_t *__lock)
|
||||
{
|
||||
lll_unlock (__lock, 0);
|
||||
__lll_unlock (__lock, 0);
|
||||
}
|
||||
#endif
|
||||
|
||||
@ -79,7 +79,7 @@ extern int __spin_try_lock (__spin_lock_t *__lock);
|
||||
_EXTERN_INLINE int
|
||||
__spin_try_lock (__spin_lock_t *__lock)
|
||||
{
|
||||
return (lll_trylock (__lock) == 0);
|
||||
return (__lll_trylock (__lock) == 0);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user