2003-03-17 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@gnu.org>
Tue, 18 Mar 2003 01:21:42 +0000 (01:21 +0000)
committerRoland McGrath <roland@gnu.org>
Tue, 18 Mar 2003 01:21:42 +0000 (01:21 +0000)
* sysdeps/unix/sysv/linux/lowlevellock.c (__lll_lock_wait):
Formatting tweaks.

nptl/sysdeps/unix/sysv/linux/lowlevellock.c

index 99f804c..cdde262 100644 (file)
@@ -28,8 +28,11 @@ void
 __lll_lock_wait (int *futex, int val)
 {
   do
+    {
       lll_futex_wait (futex, val + 1);
-  while ((val = __lll_add (futex, 1)) != 0);
+      val = __lll_add (futex, 1);
+    }
+  while (val != 0);
   *futex = 2;
 }
 hidden_proto (__lll_lock_wait)