summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads/libc_pthread_init.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-03-09 14:53:12 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-03-09 14:53:12 +0000
commit55628cb04c5daec6016f9621f31ee853ceed6986 (patch)
tree595b8ee992ed92fddfca466af66d928a1b49daea /libpthread/linuxthreads/libc_pthread_init.c
parentd0a847fd8a6f89095b20c44fac4f28530481a567 (diff)
Move __clone/__uselocale to uClibc_glue.h
Diffstat (limited to 'libpthread/linuxthreads/libc_pthread_init.c')
-rw-r--r--libpthread/linuxthreads/libc_pthread_init.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/libpthread/linuxthreads/libc_pthread_init.c b/libpthread/linuxthreads/libc_pthread_init.c
index 5a43eac04..5ed9ab6bf 100644
--- a/libpthread/linuxthreads/libc_pthread_init.c
+++ b/libpthread/linuxthreads/libc_pthread_init.c
@@ -28,9 +28,6 @@
#ifdef SHARED
libc_hidden_proto(memcpy)
#endif
-#if !(USE_TLS && HAVE___THREAD) && defined __UCLIBC_HAS_XLOCALE__
-libc_hidden_proto(uselocale)
-#endif
int *
__libc_pthread_init (functions)
@@ -44,10 +41,10 @@ __libc_pthread_init (functions)
sizeof (__libc_pthread_functions));
#endif
-#if !(USE_TLS && HAVE___THREAD) && defined __UCLIBC_HAS_XLOCALE__
+#if !(USE_TLS && HAVE___THREAD)
/* Initialize thread-locale current locale to point to the global one.
With __thread support, the variable's initializer takes care of this. */
- uselocale (LC_GLOBAL_LOCALE);
+ __uselocale (LC_GLOBAL_LOCALE);
#endif
return &__libc_multiple_threads;