summaryrefslogtreecommitdiff
path: root/dos/string.h
diff options
context:
space:
mode:
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 */