Browse Source

Not the best idea moving libc_hidden_proto to uClibc_glue.h

Peter S. Mazinger 18 years ago
parent
commit
41db918cae

+ 4 - 0
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;

+ 0 - 1
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