drop some const char* correctness

This commit is contained in:
Fabian Greffrath 2022-02-22 14:27:08 +01:00
parent 68e21d1fda
commit b3dc68f04c
2 changed files with 3 additions and 3 deletions

View File

@ -639,7 +639,7 @@ char *D_DoomExeName(void)
// [FG] get the path to the default configuration dir to use
const char *D_DoomPrefDir(void)
char *D_DoomPrefDir(void)
{
static char *dir;
@ -677,7 +677,7 @@ const char *D_DoomPrefDir(void)
static struct {
const char *dir;
const char *(*func)(void);
char *(*func)(void);
} autoload_basedirs[] = {
#ifdef WOOFDATADIR
{WOOFDATADIR, NULL},

View File

@ -40,7 +40,7 @@ void D_AddFile(const char *file);
char *D_DoomExeDir(void); // killough 2/16/98: path to executable's dir
char *D_DoomExeName(void); // killough 10/98: executable's name
extern char *basesavegame; // killough 2/16/98: savegame path
const char *D_DoomPrefDir(void); // [FG] default configuration dir
char *D_DoomPrefDir(void); // [FG] default configuration dir
//jff 1/24/98 make command line copies of play modes available
extern boolean clnomonsters; // checkparm of -nomonsters