X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=libthreads.h;h=a899881c3ee5185c94d3ad115ed90329e777699e;hb=201b9e63f1f9fb250d2040aa414db490f7ef2f49;hp=72cc00b8e1532606659d43814de88afe6d0697e0;hpb=eebc7e307adab5e922ec93a5a8e9d18708dc6af2;p=c11tester.git diff --git a/libthreads.h b/libthreads.h index 72cc00b8..a899881c 100644 --- a/libthreads.h +++ b/libthreads.h @@ -5,17 +5,16 @@ extern "C" { #endif - typedef int thread_id_t; typedef void (*thrd_start_t)(); - 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); int thrd_yield(void); thrd_t thrd_current(void); - extern void user_main(void); + void user_main(void); #ifdef __cplusplus }