aboutsummaryrefslogtreecommitdiffstats
path: root/memdump
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-05-29 15:10:36 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-05-29 15:10:36 -0700
commitd9d56396ef1468baee9e902358467af50eae4e07 (patch)
treefde8b6c409de33fbc3ce4baae7e07cf668b7c927 /memdump
parent4d2d47f831efa13afb27e0b35a3e04b004953e1e (diff)
downloadsyslinux.git-d9d56396ef1468baee9e902358467af50eae4e07.tar.gz
syslinux.git-d9d56396ef1468baee9e902358467af50eae4e07.tar.xz
syslinux.git-d9d56396ef1468baee9e902358467af50eae4e07.zip
Run Nindent on memdump/string.h
Automatically reformat memdump/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 'memdump')
-rw-r--r--memdump/string.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/memdump/string.h b/memdump/string.h
index 44f77dac..8f8c8967 100644
--- a/memdump/string.h
+++ b/memdump/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 */