diff --git a/src/base/system.cpp b/src/base/system.cpp index d27210c37..a97b1fcdc 100644 --- a/src/base/system.cpp +++ b/src/base/system.cpp @@ -2279,15 +2279,6 @@ int fs_is_dir(const char *path) #endif } -time_t fs_getmtime(const char *path) -{ - struct stat sb; - if(stat(path, &sb) == -1) - return 0; - - return sb.st_mtime; -} - int fs_chdir(const char *path) { if(fs_is_dir(path)) diff --git a/src/base/system.h b/src/base/system.h index ba0cba433..5ebf8f875 100644 --- a/src/base/system.h +++ b/src/base/system.h @@ -1689,12 +1689,6 @@ int fs_storage_path(const char *appname, char *path, int max); */ int fs_is_dir(const char *path); -/* - Function: fs_getmtime - Gets the modification time of a file -*/ -time_t fs_getmtime(const char *path); - /* Function: fs_chdir Changes current working directory