diff options
author | tron <tron@openttd.org> | 2005-02-05 18:05:42 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-02-05 18:05:42 +0000 |
commit | 17ca2c49a538eb4896e0b6e6ff24d12e6915ede2 (patch) | |
tree | f89ba1ea60d31b2d81001fc7f60d31bc9bac8360 /w32dm.c | |
parent | 7278f72157d834da45a3b7986128ea865c1b8ddc (diff) | |
download | openttd-17ca2c49a538eb4896e0b6e6ff24d12e6915ede2.tar.xz |
(svn r1805) Teach the driver layer a few things about const correctness
Diffstat (limited to 'w32dm.c')
-rw-r--r-- | w32dm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -32,7 +32,7 @@ #include "sound.h" #include "hal.h" -static char * DMusicMidiStart(char **parm); +static const char * DMusicMidiStart(const char * const *parm); static void DMusicMidiStop(void); static void DMusicMidiPlaySong(const char *filename); static void DMusicMidiStopSong(void); @@ -60,7 +60,7 @@ extern void SetVolume (long); bool seeking = false; -static char * DMusicMidiStart(char **parm) +static const char * DMusicMidiStart(const char * const *parm) { if (InitDirectMusic() == true) return(0); |