]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Python/Python-2.7.2/Python/strdup.c
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.2 / Python / strdup.c
diff --git a/AppPkg/Applications/Python/Python-2.7.2/Python/strdup.c b/AppPkg/Applications/Python/Python-2.7.2/Python/strdup.c
deleted file mode 100644 (file)
index deef534..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-/* strdup() replacement (from stdwin, if you must know) */\r
-\r
-#include "pgenheaders.h"\r
-\r
-char *\r
-strdup(const char *str)\r
-{\r
-       if (str != NULL) {\r
-               register char *copy = malloc(strlen(str) + 1);\r
-               if (copy != NULL)\r
-                       return strcpy(copy, str);\r
-       }\r
-       return NULL;\r
-}\r