Remove FS_DeletePath() and Sys_Rmdir()

Thise functions where added with the filesystem rewrite but never used.
Removing them saves us from implementing Sys_Rmdir() for Windows.
This commit is contained in:
Yamagi Burmeister 2012-06-03 14:30:44 +02:00
parent a6f22f0f5a
commit bd1070eff2
4 changed files with 0 additions and 16 deletions

View file

@ -257,14 +257,6 @@ FS_Gamedir(void)
return (fs_gamedir);
}
void
FS_DeletePath(char *path)
{
FS_DPrintf("FS_DeletePath(%s)\n", path);
Sys_Rmdir(path);
}
/*
* Returns a FILE * for a fileHandle_t.
*/

View file

@ -648,7 +648,6 @@ qboolean FS_FileExists(char *path);
void FS_CopyFile(const char *srcPath, const char *dstPath);
void FS_RenameFile(const char *oldPath, const char *newPath);
void FS_DeleteFile(const char *path);
void FS_DeletePath(char *path);
int FS_GetFileList(const char *path, const char *extension, char *buffer, int size, fsSearchType_t searchType);
char **FS_ListPak(char *find, int *num); /* Knighmare- pak list function */
char **FS_ListFiles(char *findname, int *numfiles, unsigned musthave, unsigned canthave);

View file

@ -249,7 +249,6 @@ extern int curtime; /* time returned by last Sys_Milliseconds */
int Sys_Milliseconds(void);
void Sys_Mkdir(char *path);
void Sys_Rmdir(char *path);
char *strlwr(char *s);
/* large block stack allocation routines */

View file

@ -120,12 +120,6 @@ Sys_Mkdir ( char *path )
mkdir( path, 0755 );
}
void
Sys_Rmdir ( char *path )
{
rmdir( path );
}
char *
Sys_GetCurrentDirectory ( void )
{