summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--nscd/nscd-client.h3
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b635a19058..2deaec7d75 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-05-15 Roland McGrath <roland@hack.frob.com>
+
+ * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
+
2012-05-15 Jeff Law <law@redhat.com>
Andreas Jaeger <aj@suse.de>
diff --git a/nscd/nscd-client.h b/nscd/nscd-client.h
index 325368e73b..aef76e8fdd 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,