summaryrefslogtreecommitdiff
path: root/dos/string.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-05-29 15:10:32 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-05-29 15:10:32 -0700
commit55e802d17b7a36414289dc6f4cc38071a6eec98a (patch)
treeed1bd4afdd4051a6db195204559e8bcf91a364e9 /dos/string.h
parent95eeecea06671800b55f7a820ad42e40f941f776 (diff)
downloadsyslinux-55e802d17b7a36414289dc6f4cc38071a6eec98a.tar.gz
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 <hpa@zytor.com>
Diffstat (limited to 'dos/string.h')
-rw-r--r--dos/string.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/dos/string.h b/dos/string.h
index 44f77dac..8f8c8967 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 */