ref: a138539a57b506b6b7ec8590052aa31e48c48fc7
parent: a2b9c9c5d364e9c10b7a23eddd8c6358e302217b
author: Turo Lamminen <turotl@gmail.com>
date: Sat Jul 21 12:42:00 EDT 2018
wad: Make W_AddFile parameter const
--- a/src/w_wad.c
+++ b/src/w_wad.c
@@ -100,7 +100,7 @@
// Other files are single lumps with the base filename
// for the lump name.
-wad_file_t *W_AddFile (char *filename)
+wad_file_t *W_AddFile (const char *filename)
{
wadinfo_t header;
lumpindex_t i;
--- a/src/w_wad.h
+++ b/src/w_wad.h
@@ -53,7 +53,7 @@
extern lumpinfo_t **lumpinfo;
extern unsigned int numlumps;
-wad_file_t *W_AddFile(char *filename);
+wad_file_t *W_AddFile(const char *filename);
void W_Reload(void);
lumpindex_t W_CheckNumForName(const char *name);