From dc41e44e117b30d3357eeddfcf89a61dff9e3b7a Mon Sep 17 00:00:00 2001 From: havoc Date: Sat, 20 Jan 2007 09:16:17 +0000 Subject: [PATCH] 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 --- fs.c | 1 - fs.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2