diff options
author | Simon Howard | 2014-04-19 03:39:55 -0400 |
---|---|---|
committer | Simon Howard | 2014-04-19 03:39:55 -0400 |
commit | 7d238f61488d550b5bfbe5075b923723bb5d0cfb (patch) | |
tree | 8dda3ca41848577f7331eaae705554e0afea726c /src/setup/mode.h | |
parent | 48e96443151db631e1153d459e850c49a96ccb29 (diff) | |
download | chocolate-doom-7d238f61488d550b5bfbe5075b923723bb5d0cfb.tar.gz chocolate-doom-7d238f61488d550b5bfbe5075b923723bb5d0cfb.tar.bz2 chocolate-doom-7d238f61488d550b5bfbe5075b923723bb5d0cfb.zip |
setup: Make iwad_t pointers const.
The table of IWAD data is stored in const memory, so make all iwad_t
pointers const to fix compiler warnings.
Diffstat (limited to 'src/setup/mode.h')
-rw-r--r-- | src/setup/mode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/setup/mode.h b/src/setup/mode.h index 2495775d..624abbfc 100644 --- a/src/setup/mode.h +++ b/src/setup/mode.h @@ -32,7 +32,7 @@ void SetupMission(GameSelectCallback callback); void InitBindings(void); char *GetExecutableName(void); char *GetGameTitle(void); -iwad_t **GetIwads(void); +const iwad_t **GetIwads(void); #endif /* #ifndef SETUP_MODE_H */ |