src/platform_posix.c
changeset 1053 a277a93ac1aa
parent 1052 f87b0b7cca8e
child 1054 57f4af811ffb
--- a/src/platform_posix.c	Sun Feb 14 23:07:19 2010 -0500
+++ b/src/platform_posix.c	Mon Feb 15 09:19:38 2010 -0500
@@ -127,27 +127,6 @@
 } /* __PHYSFS_platformIsDirectory */
 
 
-int __PHYSFS_platformStat(const char *fname, PHYSFS_Stat *st)
-{
-    int retval = 0;
-    struct stat pstat;
-
-    /* !!! FIXME: lstat()? */
-    retval = stat(fname, &pstat);
-    if (retval == 0)
-    {
-        st->size = pstat.st_size;
-        st->mtime = pstat.st_mtime;
-        st->atime = pstat.st_atime;
-        st->ctime = pstat.st_ctime;
-        st->is_symlink = S_ISLNK(pstat.st_mode) ? 1 : 0;
-        st->is_dir = S_ISDIR(pstat.st_mode) ? 1 : 0;
-    } /* if */
-
-    return(retval);
-} /* __PHYSFS_platformStat */
-
-
 char *__PHYSFS_platformCvtToDependent(const char *prepend,
                                       const char *dirName,
                                       const char *append)