Added SILC Server library.
[silc.git] / lib / silcutil / os2 / silcos2thread.c
index c078807ad9482cefd4d0e27f4316a8f76c6848ec..eb18dcde9cda6c4b3224e66d70848a709deebc2f 100644 (file)
@@ -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