commit b9107f377cb5a617655db82fa01e05b90325250a
Author: Turo Lamminen <turotl@gmail.com>
AuthorDate: Sat Mar 31 17:51:38 2018 +0300
Commit: Turo Lamminen <turotl@gmail.com>
CommitDate: Sat Mar 31 17:51:38 2018 +0300
Make DEH_LoadFile parameter const
---
src/deh_main.c | 2 +-
src/deh_main.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/deh_main.c b/src/deh_main.c
index b0f803f1..1102481c 100644
--- a/src/deh_main.c
+++ b/src/deh_main.c
@@ -368,7 +368,7 @@ static void DEH_ParseContext(deh_context_t *context)
// Parses a dehacked file
-int DEH_LoadFile(char *filename)
+int DEH_LoadFile(const char *filename)
{
deh_context_t *context;
diff --git a/src/deh_main.h b/src/deh_main.h
index 0e706c3b..4d9c965b 100644
--- a/src/deh_main.h
+++ b/src/deh_main.h
@@ -30,7 +30,7 @@
#define DEH_VANILLA_NUMSFX 107
void DEH_ParseCommandLine(void);
-int DEH_LoadFile(char *filename);
+int DEH_LoadFile(const char *filename);
int DEH_LoadLump(int lumpnum, boolean allow_long, boolean allow_error);
int DEH_LoadLumpByName(char *name, boolean allow_long, boolean allow_error);