update for HEAD-2003091401
[reactos.git] / lib / crtdll / string / strdup.c
diff --git a/lib/crtdll/string/strdup.c b/lib/crtdll/string/strdup.c
deleted file mode 100644 (file)
index a84de36..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
-#include <msvcrt/string.h>
-#include <msvcrt/stdlib.h>
-
-
-char *_strdup(const char *_s)
-{
-  char *rv;
-  if (_s == 0)
-    return 0;
-  rv = (char *)malloc(strlen(_s) + 1);
-  if (rv == 0)
-    return 0;
-  strcpy(rv, _s);
-  return rv;
-}