src/platform_posix.c
changeset 1226 3ea51c799aba
parent 1225 671d4ea47c13
child 1228 7c0e9de2ba33
--- a/src/platform_posix.c	Thu Mar 15 01:54:57 2012 -0400
+++ b/src/platform_posix.c	Thu Mar 15 01:58:39 2012 -0400
@@ -113,34 +113,6 @@
 } /* __PHYSFS_platformGetUserDir */
 
 
-char *__PHYSFS_platformCvtToDependent(const char *prepend,
-                                      const char *dirName,
-                                      const char *append)
-{
-    int len = ((prepend) ? strlen(prepend) : 0) +
-              ((append) ? strlen(append) : 0) +
-              strlen(dirName) + 1;
-    char *retval = (char *) allocator.Malloc(len);
-
-    BAIL_IF_MACRO(retval == NULL, ERR_OUT_OF_MEMORY, NULL);
-
-    /* platform-independent notation is Unix-style already.  :)  */
-
-    if (prepend)
-        strcpy(retval, prepend);
-    else
-        retval[0] = '\0';
-
-    strcat(retval, dirName);
-
-    if (append)
-        strcat(retval, append);
-
-    return retval;
-} /* __PHYSFS_platformCvtToDependent */
-
-
-
 void __PHYSFS_platformEnumerateFiles(const char *dirname,
                                      int omitSymLinks,
                                      PHYSFS_EnumFilesCallback callback,