summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-08-11 18:53:30 +0000
committerEric Andersen <andersen@codepoet.org>2002-08-11 18:53:30 +0000
commitfd19822e4d58682ee95816c9e2f46094e4052edd (patch)
tree4e664d0b6386bcf9fa9839a8b6bd1ada00ec8061 /libpthread/linuxthreads
parent44549659536afa8e378fd3612acf6354e71d2117 (diff)
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
Diffstat (limited to 'libpthread/linuxthreads')
-rw-r--r--libpthread/linuxthreads/mutex.c4
1 files changed, 2 insertions, 2 deletions
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)