ref: d5298aab053dde86186a877ca9984a7149b1f045
parent: 3430e574e1df09e189df4d528a28578a7cff19b3
author: Turo Lamminen <[email protected]>
date: Tue Aug 7 14:13:11 EDT 2018
hexen: Make SC_Open parameter const
--- a/src/hexen/h2def.h
+++ b/src/hexen/h2def.h
@@ -904,7 +904,7 @@
// 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);
--- a/src/hexen/sc_man.c
+++ b/src/hexen/sc_man.c
@@ -74,7 +74,7 @@
//
//==========================================================================
-void SC_Open(char *name)
+void SC_Open(const char *name)
{
char fileName[128];