Author: delphij
Date: Fri Mar 12 21:15:35 2010
New Revision: 205100
URL: http://svn.freebsd.org/changeset/base/205100

Log:
  Follow up commit to reindent the code.
  
  MFC after:    1 month

Modified:
  head/lib/libc/string/strlen.c

Modified: head/lib/libc/string/strlen.c
==============================================================================
--- head/lib/libc/string/strlen.c       Fri Mar 12 21:14:56 2010        
(r205099)
+++ head/lib/libc/string/strlen.c       Fri Mar 12 21:15:35 2010        
(r205100)
@@ -101,27 +101,27 @@ strlen(const char *str)
        vb = ((~*lp) & mask80);
        if (va & vb)
                /* Check if we have \0 in the first part */
-       for (p = str; (uintptr_t)p & LONGPTR_MASK; p++)
-           if (*p == '\0')
-               return (p - str);
+               for (p = str; (uintptr_t)p & LONGPTR_MASK; p++)
+                       if (*p == '\0')
+                               return (p - str);
 
        /* Scan the rest of the string using word sized operation */
        for (lp = (const unsigned long *)p; ; lp++) {
                va = (*lp - mask01);
                vb = ((~*lp) & mask80);
                if (va & vb) {
-               p = (const char *)(lp);
-               testbyte(0);
-               testbyte(1);
-               testbyte(2);
-               testbyte(3);
+                       p = (const char *)(lp);
+                       testbyte(0);
+                       testbyte(1);
+                       testbyte(2);
+                       testbyte(3);
 #if (LONG_BIT >= 64)
-               testbyte(4);
-               testbyte(5);
-               testbyte(6);
-               testbyte(7);
+                       testbyte(4);
+                       testbyte(5);
+                       testbyte(6);
+                       testbyte(7);
 #endif
-           }
+               }
        }
 
        /* NOTREACHED */
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to