summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-01-23 16:33:09 +0000
committertron <tron@openttd.org>2005-01-23 16:33:09 +0000
commit88c10e02ff79e81804e007708668737909416d8b (patch)
treeb8aabac47320eb6fbb37a90343cedb88f99f549f
parent1a92141896c2c7ad011b045c7d010b9b179939ad (diff)
downloadopenttd-88c10e02ff79e81804e007708668737909416d8b.tar.xz
(svn r1618) () -> (void)
-rw-r--r--w32dm.c12
-rw-r--r--w32dm2.cpp2
2 files changed, 7 insertions, 7 deletions
diff --git a/w32dm.c b/w32dm.c
index 665e1eb71..149266994 100644
--- a/w32dm.c
+++ b/w32dm.c
@@ -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;