platform/os2.c
changeset 828 ee871d51510d
parent 818 e36f23f49042
child 844 68272bd212a5
--- a/platform/os2.c	Thu Mar 15 07:33:14 2007 +0000
+++ b/platform/os2.c	Thu Mar 15 08:16:23 2007 +0000
@@ -145,7 +145,7 @@
         {
             while (count == 1)  /* while still entries to enumerate... */
             {
-                if (__PHYSFS_platformStricmp(fb.achName, fname) == 0)
+                if (__PHYSFS_stricmpASCII(fb.achName, fname) == 0)
                 {
                     strcpy(fname, fb.achName);
                     break;  /* there it is. Overwrite and stop searching. */
@@ -297,50 +297,6 @@
 } /* __PHYSFS_platformGetUserDir */
 
 
-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(1);
-        else if (ux < uy)
-            return(-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(1);
-        else if (ux < uy)
-            return(-1);
-        x++;
-        y++;
-        len--;
-    } while ((ux) && (uy) && (len));
-
-    return(0);
-} /* __PHYSFS_platformStrnicmp */
-
-
 int __PHYSFS_platformExists(const char *fname)
 {
     FILESTATUS3 fs;