]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Python/Python-2.7.10/Python/pystrcmp.c
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.10 / Python / pystrcmp.c
diff --git a/AppPkg/Applications/Python/Python-2.7.10/Python/pystrcmp.c b/AppPkg/Applications/Python/Python-2.7.10/Python/pystrcmp.c
deleted file mode 100644 (file)
index f1b12b4..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-/* Cross platform case insensitive string compare functions\r
- */\r
-\r
-#include "Python.h"\r
-\r
-int\r
-PyOS_mystrnicmp(const char *s1, const char *s2, Py_ssize_t size)\r
-{\r
-    if (size == 0)\r
-        return 0;\r
-    while ((--size > 0) &&\r
-           (tolower((unsigned)*s1) == tolower((unsigned)*s2))) {\r
-        if (!*s1++ || !*s2++)\r
-            break;\r
-    }\r
-    return tolower((unsigned)*s1) - tolower((unsigned)*s2);\r
-}\r
-\r
-int\r
-PyOS_mystricmp(const char *s1, const char *s2)\r
-{\r
-    while (*s1 && (tolower((unsigned)*s1++) == tolower((unsigned)*s2++))) {\r
-        ;\r
-    }\r
-    return (tolower((unsigned)*s1) - tolower((unsigned)*s2));\r
-}\r