ref: a3d1f5dcd60c670f8079081cacb8843b7a03e326
parent: 02000143d13cad951165426c47bf93590781f8af
author: Turo Lamminen <[email protected]>
date: Sat May 26 11:43:12 EDT 2018
config: Make M_SetConfigFilenames main_config parameter const
--- a/src/m_config.c
+++ b/src/m_config.c
@@ -1929,7 +1929,7 @@
// Set the default filenames to use for configuration files.
-void M_SetConfigFilenames(char *main_config, char *extra_config)
+void M_SetConfigFilenames(const char *main_config, char *extra_config)
{
default_main_config = main_config;
default_extra_config = extra_config;
--- a/src/m_config.h
+++ b/src/m_config.h
@@ -33,7 +33,7 @@
int M_GetIntVariable(char *name);
const char *M_GetStringVariable(char *name);
float M_GetFloatVariable(char *name);
-void M_SetConfigFilenames(char *main_config, char *extra_config);
+void M_SetConfigFilenames(const char *main_config, char *extra_config);
char *M_GetSaveGameDir(const char *iwadname);
extern const char *configdir;