aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 */