summaryrefslogtreecommitdiff
path: root/dedicated.c
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2004-12-23 00:24:44 +0000
committerdarkvater <darkvater@openttd.org>2004-12-23 00:24:44 +0000
commit5eeb971de0a708051a67b9613c66810420dc7e09 (patch)
treec61005fca393d8636f471b3f6497712970f87b04 /dedicated.c
parent552cb7ad60da77640ebcc9ec0f50b7611f130f90 (diff)
downloadopenttd-5eeb971de0a708051a67b9613c66810420dc7e09.tar.xz
(svn r1240) -Fix: OpenTTD once again compiles if ENABLE_NETWORK is disabled.
-Fix: removed some warnings -Enabled ENABLE_NETWORK on windows again which I accidentally commented out.
Diffstat (limited to 'dedicated.c')
-rw-r--r--dedicated.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dedicated.c b/dedicated.c
index 051573bee..d17302be9 100644
--- a/dedicated.c
+++ b/dedicated.c
@@ -34,7 +34,7 @@ static void *_dedicated_video_mem;
#ifdef UNIX
/* We want to fork our dedicated server */
-void DedicatedFork()
+void DedicatedFork(void)
{
/* Fork the program */
_dedicated_pid = fork();
@@ -242,6 +242,7 @@ static const char *DedicatedVideoStart(char **parm) {
return NULL;
}
+void DedicatedFork(void) {}
static void DedicatedVideoStop() { free(_dedicated_video_mem); }
static void DedicatedVideoMakeDirty(int left, int top, int width, int height) {}
static bool DedicatedVideoChangeRes(int w, int h) { return false; }