aboutsummaryrefslogtreecommitdiff
path: root/nscd/nscd-client.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2012-05-15 11:45:42 -0700
committerRoland McGrath <roland@hack.frob.com>2012-05-15 11:45:42 -0700
commit6540185fb9f869958f3b2822224c06292c7b7c07 (patch)
tree777d1d3600c5aa340b919341adadf47505d5d8e1 /nscd/nscd-client.h
parent509072a0f7f8a37bedf61a78c0cdd7783368c65a (diff)
downloadglibc-6540185fb9f869958f3b2822224c06292c7b7c07.zip
glibc-6540185fb9f869958f3b2822224c06292c7b7c07.tar.gz
glibc-6540185fb9f869958f3b2822224c06292c7b7c07.tar.bz2
Fix formatting in last change.
Diffstat (limited to 'nscd/nscd-client.h')
-rw-r--r--nscd/nscd-client.h3
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,