From: H. Peter Anvin Date: Fri, 29 May 2009 22:10:32 +0000 (-0700) Subject: Run Nindent on dos/string.h X-Git-Tag: syslinux-3.83-pre2~90 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=55e802d17b7a36414289dc6f4cc38071a6eec98a;p=platform%2Fupstream%2Fsyslinux.git Run Nindent on dos/string.h 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 --- diff --git a/dos/string.h b/dos/string.h index 44f77da..8f8c896 100644 --- a/dos/string.h +++ b/dos/string.h @@ -14,10 +14,10 @@ /* 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 */