]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
added FS_CheckNastyPath prototype to fs.h so that it can be used elsewhere
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 20 Jan 2007 09:16:17 +0000 (09:16 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 20 Jan 2007 09:16:17 +0000 (09:16 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6707 d7cf8633-e32d-0410-b094-e92efae38249

fs.c
fs.h

diff --git a/fs.c b/fs.c
index 8bf3d1c56d905387eaebd12d69ef14752a90cde5..bee65369560b3ce153bc500d966d6b01ab0de55b 100644 (file)
--- 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 11b993242c01f58e3cc1eae9513a7f2761ecf77e..5589af7a75652a4b6f2cd8cd07a76578f744ee4e 100644 (file)
--- 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