commit d5298aab053dde86186a877ca9984a7149b1f045
Author: Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue Aug 7 18:13:11 2018 +0300
Commit: Turo Lamminen <turotl@gmail.com>
CommitDate: Tue Aug 7 18:45:09 2018 +0300
hexen: Make SC_Open parameter const
---
src/hexen/h2def.h | 2 +-
src/hexen/sc_man.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/hexen/h2def.h b/src/hexen/h2def.h
index 5b73d471..8170135d 100644
--- a/src/hexen/h2def.h
+++ b/src/hexen/h2def.h
@@ -904,7 +904,7 @@ int M_DrawText(int x, int y, boolean direct, char *string);
// SC_man.c
//------------------------------
-void SC_Open(char *name);
+void SC_Open(const char *name);
void SC_OpenLump(const char *name);
void SC_OpenFile(char *name);
void SC_Close(void);
diff --git a/src/hexen/sc_man.c b/src/hexen/sc_man.c
index 6d8b16e4..08301ac2 100644
--- a/src/hexen/sc_man.c
+++ b/src/hexen/sc_man.c
@@ -74,7 +74,7 @@ static boolean AlreadyGot = false;
//
//==========================================================================
-void SC_Open(char *name)
+void SC_Open(const char *name)
{
char fileName[128];