diff options
Diffstat (limited to 'libpthread/linuxthreads')
-rw-r--r-- | libpthread/linuxthreads/libc_pthread_init.c | 4 | ||||
-rw-r--r-- | libpthread/linuxthreads/sysdeps/pthread/uClibc-glue.h | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/libpthread/linuxthreads/libc_pthread_init.c b/libpthread/linuxthreads/libc_pthread_init.c index 5ed9ab6bf..e346ed275 100644 --- a/libpthread/linuxthreads/libc_pthread_init.c +++ b/libpthread/linuxthreads/libc_pthread_init.c @@ -29,6 +29,10 @@ libc_hidden_proto(memcpy) #endif +#if !(USE_TLS && HAVE___THREAD) +libc_hidden_proto(uselocale) +#endif + int * __libc_pthread_init (functions) const struct pthread_functions *functions; diff --git a/libpthread/linuxthreads/sysdeps/pthread/uClibc-glue.h b/libpthread/linuxthreads/sysdeps/pthread/uClibc-glue.h index 5a72b7703..f81c22945 100644 --- a/libpthread/linuxthreads/sysdeps/pthread/uClibc-glue.h +++ b/libpthread/linuxthreads/sysdeps/pthread/uClibc-glue.h @@ -36,7 +36,6 @@ extern int __cxa_atexit (void (*func) (void *), void *arg, void *d); #ifdef __UCLIBC_HAS_XLOCALE__ # define __uselocale(x) uselocale(x) -libc_hidden_proto(uselocale) #else # define __uselocale(x) ((void)0) #endif |