(svn r13411) -Codechange: remove the return value from the thread procs because it is never used.

This commit is contained in:
rubidium
2008-06-08 10:51:36 +00:00
parent d49a86cf48
commit 4657ae97fc
7 changed files with 20 additions and 39 deletions

View File

@@ -5,7 +5,7 @@
#ifndef THREAD_H
#define THREAD_H
typedef void * (CDECL *OTTDThreadFunc)(void *);
typedef void (*OTTDThreadFunc)(void *);
/**
* A Thread Object which works on all our supported OSes.
@@ -37,7 +37,7 @@ public:
/**
* Join this thread.
*/
virtual void *Join() = 0;
virtual void Join() = 0;
/**
* Check if this thread is the current active thread.
@@ -64,7 +64,7 @@ public:
* Convert the current thread to a new ThreadObject.
* @return A new ThreadObject with the current thread attached to it.
*/
static ThreadObject* AttachCurrent();
static ThreadObject *AttachCurrent();
/**
* Find the Id of the current running thread.