mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-24 04:29:34 -04:00
drop some const char* correctness
This commit is contained in:
parent
68e21d1fda
commit
b3dc68f04c
@ -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},
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user