]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - fs.h
Mostly [v]sprintf -> [v]snprintf replacements, and a couple of other fixes regarding...
[xonotic/darkplaces.git] / fs.h
diff --git a/fs.h b/fs.h
index 05b869ca1ac41bad6e293134ab0c484f9af7d881..f41a6f1c554a9177231ca604f5a26e7a48c90b4e 100644 (file)
--- a/fs.h
+++ b/fs.h
@@ -22,8 +22,8 @@
                Boston, MA  02111-1307, USA
 */
 
-#ifndef QUAKEIO_H
-#define QUAKEIO_H
+#ifndef FS_H
+#define FS_H
 
 
 // ------ Types ------ //
@@ -64,7 +64,7 @@ qboolean FS_WriteFile (const char *filename, void *data, int len);
 // ------ Other functions ------ //
 
 void FS_StripExtension (const char *in, char *out);
-void FS_DefaultExtension (char *path, const char *extension);
+void FS_DefaultExtension (char *path, const char *extension, size_t size_path);
 
 qboolean FS_FileExists (const char *filename);         // the file can be into a package
 qboolean FS_SysFileExists (const char *filename);      // only look for files outside of packages