update for HEAD-2003021201
[reactos.git] / lib / crtdll / string / memcmp.c
index ed5b9ae..997be7a 100644 (file)
@@ -1,17 +1,15 @@
 /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
-#include <crtdll/string.h>
+#include <msvcrt/string.h>
 
-int
-memcmp(const void *s1, const void *s2, size_t n)
-{
-  if (n != 0)
-  {
-    const unsigned char *p1 = s1, *p2 = s2;
 
-    do {
-      if (*p1++ != *p2++)
-       return (*--p1 - *--p2);
-    } while (--n != 0);
-  }
-  return 0;
+int memcmp(const void *s1, const void *s2, size_t n)
+{
+    if (n != 0) {
+        const unsigned char *p1 = s1, *p2 = s2;
+        do {
+            if (*p1++ != *p2++)
+                   return (*--p1 - *--p2);
+        } while (--n != 0);
+    }
+    return 0;
 }