From fd19822e4d58682ee95816c9e2f46094e4052edd Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sun, 11 Aug 2002 18:53:30 +0000 Subject: Ugh. Make uClibc cross compile with gcc 2.95.x and threads. I wonder if this is serious enough to warrent 0.9.14? -Erik --- libpthread/linuxthreads/mutex.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libpthread') diff --git a/libpthread/linuxthreads/mutex.c b/libpthread/linuxthreads/mutex.c index 2caf8f8ed..2ab9e7e55 100644 --- a/libpthread/linuxthreads/mutex.c +++ b/libpthread/linuxthreads/mutex.c @@ -195,7 +195,7 @@ static pthread_cond_t once_finished = PTHREAD_COND_INITIALIZER; enum { NEVER = 0, IN_PROGRESS = 1, DONE = 2 }; -int pthread_once(pthread_once_t * once_control, void (*init_routine)(void)) +int __pthread_once(pthread_once_t * once_control, void (*init_routine)(void)) { /* Test without locking first for speed */ if (*once_control == DONE) return 0; @@ -218,4 +218,4 @@ int pthread_once(pthread_once_t * once_control, void (*init_routine)(void)) pthread_mutex_unlock(&once_masterlock); return 0; } -//strong_alias (__pthread_once, pthread_once) +strong_alias (__pthread_once, pthread_once) -- cgit v1.2.3