From: havoc Date: Sat, 20 Jan 2007 09:16:17 +0000 (+0000) Subject: added FS_CheckNastyPath prototype to fs.h so that it can be used elsewhere X-Git-Tag: xonotic-v0.1.0preview~3699 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=dc41e44e117b30d3357eeddfcf89a61dff9e3b7a;p=xonotic%2Fdarkplaces.git added FS_CheckNastyPath prototype to fs.h so that it can be used elsewhere git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6707 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/fs.c b/fs.c index 8bf3d1c5..bee65369 100644 --- a/fs.c +++ b/fs.c @@ -1143,7 +1143,6 @@ FS_ChangeGameDir */ void Host_SaveConfig_f (void); void Host_LoadConfig_f (void); -int FS_CheckNastyPath (const char *path, qboolean isgamedir); qboolean FS_ChangeGameDir(const char *string) { // if already using the requested gamedir, do nothing diff --git a/fs.h b/fs.h index 11b99324..5589af7a 100644 --- a/fs.h +++ b/fs.h @@ -65,6 +65,7 @@ int FS_UnGetc (qfile_t* file, unsigned char c); int FS_Seek (qfile_t* file, fs_offset_t offset, int whence); fs_offset_t FS_Tell (qfile_t* file); void FS_Purge (qfile_t* file); +int FS_CheckNastyPath (const char *path, qboolean isgamedir); qboolean FS_ChangeGameDir(const char *string); typedef struct fssearch_s