X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilcutil%2Fos2%2Fsilcos2thread.c;h=eb18dcde9cda6c4b3224e66d70848a709deebc2f;hb=e7b6c157b80152bf9fb9266e6bdd93f9fb0db776;hp=c078807ad9482cefd4d0e27f4316a8f76c6848ec;hpb=09bae6acdf9a519c6d9b4e7535e7f7e56b6c24c1;p=silc.git diff --git a/lib/silcutil/os2/silcos2thread.c b/lib/silcutil/os2/silcos2thread.c index c078807a..eb18dcde 100644 --- a/lib/silcutil/os2/silcos2thread.c +++ b/lib/silcutil/os2/silcos2thread.c @@ -19,7 +19,7 @@ /* I used Apache's APR code as a reference here. */ /* $Id$ */ -#include "silcincludes.h" +#include "silc.h" /* XXX This leaks memory. Perhaps the SilcThread API should be changed since the silc_thread_self() causes that BeOS and OS/2 is hard to @@ -32,7 +32,7 @@ typedef struct { unsigned long thread; SilcThreadStart start_func; void *context; - bool waitable; + SilcBool waitable; } *SilcOs2Thread; /* Actual routine that is called by OS/2 when the thread is created. @@ -48,7 +48,7 @@ static void silc_thread_os2_start(void *context) #endif SilcThread silc_thread_create(SilcThreadStart start_func, void *context, - bool waitable) + SilcBool waitable) { #ifdef SILC_THREADS int ret; @@ -95,7 +95,7 @@ SilcThread silc_thread_self(void) #endif } -bool silc_thread_wait(SilcThread thread, void **exit_value) +SilcBool silc_thread_wait(SilcThread thread, void **exit_value) { #ifdef SILC_THREADS