diff options
Diffstat (limited to 'nscd')
-rw-r--r-- | nscd/nscd-client.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nscd/nscd-client.h b/nscd/nscd-client.h index 325368e..aef76e8 100644 --- a/nscd/nscd-client.h +++ b/nscd/nscd-client.h @@ -323,7 +323,8 @@ struct locked_map_ptr /* Try acquiring lock for mapptr, returns true if it succeeds, false if not. */ -static inline bool __nscd_acquire_maplock (volatile struct locked_map_ptr *mapptr) +static inline bool +__nscd_acquire_maplock (volatile struct locked_map_ptr *mapptr) { int cnt = 0; while (__builtin_expect (atomic_compare_and_exchange_val_acq (&mapptr->lock, |