summaryrefslogtreecommitdiff
path: root/src/setup/mode.h
diff options
context:
space:
mode:
authorSimon Howard2014-04-19 03:39:55 -0400
committerSimon Howard2014-04-19 03:39:55 -0400
commit7d238f61488d550b5bfbe5075b923723bb5d0cfb (patch)
tree8dda3ca41848577f7331eaae705554e0afea726c /src/setup/mode.h
parent48e96443151db631e1153d459e850c49a96ccb29 (diff)
downloadchocolate-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.h2
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 */