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