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 | 65cd4e635522b83b0df1f93f0e7f1b4f17a3e713 (patch) | |
tree | b8aabac47320eb6fbb37a90343cedb88f99f549f | |
parent | c9d6ea2570c3b9460e0a239dc7bbd1620ab46e72 (diff) | |
download | openttd-65cd4e635522b83b0df1f93f0e7f1b4f17a3e713.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; |