From 505cf3965cb552ab06377d58e1ddc21118d5eaaf Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 27 Feb 2001 01:54:20 +0000 Subject: [PATCH] Moved PTHREAD_init_done out of the #ifdef. --- scheduler/pthread.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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) { } -- 2.11.4.GIT