fix various problems with my 64-bit clean hack
[model-checker.git] / libthreads.h
index 4cf6ad352da0a47cd582a439f957c0d57a9b6528..f6de95bb9fa4f3614f07658b2abe05f8217ec6fa 100644 (file)
@@ -5,10 +5,9 @@
 extern "C" {
 #endif
 
-       typedef int thread_id_t;
-       typedef void (*thrd_start_t)();
+       typedef void (*thrd_start_t)(void *);
 
-       typedef thread_id_t thrd_t;
+       typedef int thrd_t;
 
        int thrd_create(thrd_t *t, thrd_start_t start_routine, void *arg);
        int thrd_join(thrd_t);