remove unused fs_getmtime in favor of fs_file_time

This commit is contained in:
Robert Müller 2021-11-21 10:46:31 +01:00
parent 4bb5dbc84a
commit e37ff4db65
2 changed files with 0 additions and 15 deletions

View file

@ -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))

View file

@ -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