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