diff --git a/scheduler/pthread.c b/scheduler/pthread.c index f368a0e980e..fb1755586d2 100644 --- a/scheduler/pthread.c +++ b/scheduler/pthread.c @@ -18,6 +18,13 @@ #include "winbase.h" #include "thread.h" +static int init_done; + +void PTHREAD_init_done(void) +{ + init_done = 1; +} + /* Currently this probably works only for glibc2, * which checks for the presence of double-underscore-prepended * pthread primitives, and use them if available. @@ -87,13 +94,6 @@ typedef const void *key_data; #define P_OUTPUT(stuff) write(2,stuff,strlen(stuff)) -static int init_done; - -void PTHREAD_init_done(void) -{ - init_done = 1; -} - void __pthread_initialize(void) { }