@@ -78,11 +78,11 @@ # import "threading.h" static of_tlskey_t threadSelfKey; static OFThread *mainThread; -static id +static void callMain(id object) { OFThread *thread = (OFThread*)object; if (!of_tlskey_set(threadSelfKey, thread)) @@ -108,12 +108,10 @@ objc_autoreleasePoolPop(thread->_pool); [OFAutoreleasePool OF_handleThreadTermination]; [thread release]; - - return 0; } #endif @implementation OFThread #ifdef OF_HAVE_THREADS