summaryrefslogtreecommitdiff
path: root/thread.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-08-05 11:53:48 +0000
committertron <tron@openttd.org>2005-08-05 11:53:48 +0000
commitbd48d67c28ba878fed75df6b276f92b6fab8ed01 (patch)
tree156ba2b5231e6c0ab0f9fe6830a7b60ec10af251 /thread.h
parentf315c95fa1221441106f1e6e4f4a0f7849ccb4b4 (diff)
downloadopenttd-bd48d67c28ba878fed75df6b276f92b6fab8ed01.tar.xz
(svn r2810) Threads may now return information when they terminate using a void*.
Also add the new files to the MSVC project files.
Diffstat (limited to 'thread.h')
-rw-r--r--thread.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/thread.h b/thread.h
index 1f4878106..73cea8c57 100644
--- a/thread.h
+++ b/thread.h
@@ -11,9 +11,9 @@
typedef struct Thread Thread;
-typedef void (*ThreadFunc)(void*);
+typedef void* (*ThreadFunc)(void*);
Thread* OTTDCreateThread(ThreadFunc, void*);
-void OTTDJoinThread(Thread*);
+void* OTTDJoinThread(Thread*);
#endif