summaryrefslogtreecommitdiff
path: root/src/thread.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-03-07 11:47:46 +0000
committerrubidium <rubidium@openttd.org>2007-03-07 11:47:46 +0000
commit36bb92ae241403d61dc7a3e5a1696b615be61395 (patch)
tree5676d0d54be47c40d975fdeb1026317fc2a010db /src/thread.cpp
parenta69e3b1c45f12ee6f21a4ac1c8a8f8bc0892f226 (diff)
downloadopenttd-36bb92ae241403d61dc7a3e5a1696b615be61395.tar.xz
(svn r9050) -Codechange: Foo(void) -> Foo()
Diffstat (limited to 'src/thread.cpp')
-rw-r--r--src/thread.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/thread.cpp b/src/thread.cpp
index 06ebe929c..f5a37ba7b 100644
--- a/src/thread.cpp
+++ b/src/thread.cpp
@@ -8,7 +8,7 @@
#if defined(__AMIGA__) || defined(__MORPHOS__) || defined(PSP) || defined(NO_THREADS)
OTTDThread *OTTDCreateThread(OTTDThreadFunc function, void *arg) { return NULL; }
void *OTTDJoinThread(OTTDThread *t) { return NULL; }
-void OTTDExitThread(void) { NOT_REACHED(); };
+void OTTDExitThread() { NOT_REACHED(); };
#elif defined(__OS2__)
@@ -58,7 +58,7 @@ void* OTTDJoinThread(OTTDThread* t)
return ret;
}
-void OTTDExitThread(void)
+void OTTDExitThread()
{
_endthread();
}
@@ -96,7 +96,7 @@ void* OTTDJoinThread(OTTDThread* t)
return ret;
}
-void OTTDExitThread(void)
+void OTTDExitThread()
{
pthread_exit(NULL);
}
@@ -151,7 +151,7 @@ void* OTTDJoinThread(OTTDThread* t)
return ret;
}
-void OTTDExitThread(void)
+void OTTDExitThread()
{
ExitThread(0);
}