(svn r1618) () -> (void)
authortron
Sun, 23 Jan 2005 16:33:09 +0000
changeset 1117 7554ff2ed2f0
parent 1116 a38aed715c95
child 1118 a3c31d3fe6e1
(svn r1618) () -> (void)
w32dm.c
w32dm2.cpp
--- 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
--- 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;