Run Nindent on dos/string.h
authorH. Peter Anvin <hpa@zytor.com>
Fri, 29 May 2009 22:10:32 +0000 (15:10 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 29 May 2009 22:10:32 +0000 (15:10 -0700)
Automatically reformat dos/string.h using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
dos/string.h

index 44f77da..8f8c896 100644 (file)
 /* This only returns true or false */
 static inline int memcmp(const void *__m1, const void *__m2, unsigned int __n)
 {
-  _Bool rv;
-  asm volatile("cld ; repe ; cmpsb ; setne %0"
-              : "=abd" (rv), "+D" (__m1), "+S" (__m2), "+c" (__n));
-  return rv;
+    _Bool rv;
+    asm volatile ("cld ; repe ; cmpsb ; setne %0":"=abd" (rv), "+D"(__m1),
+                 "+S"(__m2), "+c"(__n));
+    return rv;
 }
 
 #endif /* _STRING_H */