projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Synchronize with trunk r58528.
[reactos.git]
/
lib
/
sdk
/
crt
/
mem
/
memcmp.c
diff --git
a/lib/sdk/crt/mem/memcmp.c
b/lib/sdk/crt/mem/memcmp.c
index
b9b4334
..
4b3a835
100644
(file)
--- a/
lib/sdk/crt/mem/memcmp.c
+++ b/
lib/sdk/crt/mem/memcmp.c
@@
-1,6
+1,3
@@
-/*
- * $Id$
- */
#include <string.h>
@@
-15,7
+12,7
@@
int memcmp(const void *s1, const void *s2, size_t n)
const unsigned char *p1 = s1, *p2 = s2;
do {
if (*p1++ != *p2++)
-
return (*--p1 - *--p2);
+ return (*--p1 - *--p2);
} while (--n != 0);
}
return 0;