platform/posix.c
changeset 828 ee871d51510d
parent 818 e36f23f49042
child 832 adef86dfc331
--- a/platform/posix.c	Thu Mar 15 07:33:14 2007 +0000
+++ b/platform/posix.c	Thu Mar 15 08:16:23 2007 +0000
@@ -120,47 +120,6 @@
 } /* __PHYSFS_platformGetUserDir */
 
 
-/* -ansi and -pedantic flags prevent use of strcasecmp() on Linux. */
-int __PHYSFS_platformStricmp(const char *x, const char *y)
-{
-    int ux, uy;
-
-    do
-    {
-        ux = toupper((int) *x);
-        uy = toupper((int) *y);
-        if (ux != uy)
-            return((ux > uy) ? 1 : -1);
-        x++;
-        y++;
-    } while ((ux) && (uy));
-
-    return(0);
-} /* __PHYSFS_platformStricmp */
-
-
-int __PHYSFS_platformStrnicmp(const char *x, const char *y, PHYSFS_uint32 len)
-{
-    int ux, uy;
-
-    if (!len)
-        return(0);
-
-    do
-    {
-        ux = toupper((int) *x);
-        uy = toupper((int) *y);
-        if (ux != uy)
-            return((ux > uy) ? 1 : -1);
-        x++;
-        y++;
-        len--;
-    } while ((ux) && (uy) && (len));
-
-    return(0);
-} /* __PHYSFS_platformStrnicmp */
-
-
 #if (defined __PHYSFS_NO_SYMLINKS__)
 #define doStat stat
 #else