diff options
author | tron <tron@openttd.org> | 2005-01-23 16:33:09 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-01-23 16:33:09 +0000 |
commit | 88c10e02ff79e81804e007708668737909416d8b (patch) | |
tree | b8aabac47320eb6fbb37a90343cedb88f99f549f | |
parent | 1a92141896c2c7ad011b045c7d010b9b179939ad (diff) | |
download | openttd-88c10e02ff79e81804e007708668737909416d8b.tar.xz |
(svn r1618) () -> (void)
-rw-r--r-- | w32dm.c | 12 | ||||
-rw-r--r-- | w32dm2.cpp | 2 |
2 files changed, 7 insertions, 7 deletions
@@ -33,10 +33,10 @@ #include "hal.h" static char * DMusicMidiStart(char **parm); -static void DMusicMidiStop(); +static void DMusicMidiStop(void); static void DMusicMidiPlaySong(const char *filename); -static void DMusicMidiStopSong(); -static bool DMusicMidiIsSongPlaying(); +static void DMusicMidiStopSong(void); +static bool DMusicMidiIsSongPlaying(void); static void DMusicMidiSetVolume(byte vol); const HalMusicDriver _dmusic_midi_driver = { @@ -68,7 +68,7 @@ static char * DMusicMidiStart(char **parm) return("Unable to initialize DirectMusic"); } -static void DMusicMidiStop() +static void DMusicMidiStop(void) { StopSegment(); } @@ -91,12 +91,12 @@ static void DMusicMidiPlaySong(const char *filename) seeking = true; } -static void DMusicMidiStopSong() +static void DMusicMidiStopSong(void) { StopSegment(); } -static bool DMusicMidiIsSongPlaying() +static bool DMusicMidiIsSongPlaying(void) { if ((IsSegmentPlaying() == 0) && (seeking == true)) // Not the nicest code, but there is a return(true); // short delay before playing actually diff --git a/w32dm2.cpp b/w32dm2.cpp index ac42fd5a6..b96dc9478 100644 --- a/w32dm2.cpp +++ b/w32dm2.cpp @@ -93,7 +93,7 @@ static const char ole_files[] = static ProcPtrs _proc; -static bool LoadOleDLL() +static bool LoadOleDLL(void) { if (_proc.CoCreateInstance != NULL) return true; |