update for HEAD-2003091401
[reactos.git] / lib / crtdll / string / strncmp.c
diff --git a/lib/crtdll/string/strncmp.c b/lib/crtdll/string/strncmp.c
deleted file mode 100644 (file)
index 6a2352d..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
-#include <msvcrt/string.h>
-
-
-int
-strncmp(const char *s1, const char *s2, size_t n)
-{
-
-  if (n == 0)
-    return 0;
-  do {
-    if (*s1 != *s2++)
-      return *(unsigned const char *)s1 - *(unsigned const char *)--s2;
-    if (*s1++ == 0)
-      break;
-  } while (--n != 0);
-  return 0;
-}