# HG changeset patch # User tron # Date 1106497989 0 # Node ID 7554ff2ed2f0181d53e95dd6cef2d1f1cf51aba3 # Parent a38aed715c95ed735ac433f8af584816fda7c414 (svn r1618) () -> (void) diff -r a38aed715c95 -r 7554ff2ed2f0 w32dm.c --- a/w32dm.c Sun Jan 23 15:25:17 2005 +0000 +++ b/w32dm.c Sun Jan 23 16:33:09 2005 +0000 @@ -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 @@ return("Unable to initialize DirectMusic"); } -static void DMusicMidiStop() +static void DMusicMidiStop(void) { StopSegment(); } @@ -91,12 +91,12 @@ 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 -r a38aed715c95 -r 7554ff2ed2f0 w32dm2.cpp --- a/w32dm2.cpp Sun Jan 23 15:25:17 2005 +0000 +++ b/w32dm2.cpp Sun Jan 23 16:33:09 2005 +0000 @@ -93,7 +93,7 @@ static ProcPtrs _proc; -static bool LoadOleDLL() +static bool LoadOleDLL(void) { if (_proc.CoCreateInstance != NULL) return true;