OSDN Git Service

Not the best idea moving libc_hidden_proto to uClibc_glue.h
authorPeter S. Mazinger <ps.m@gmx.net>
Thu, 9 Mar 2006 15:18:36 +0000 (15:18 -0000)
committerPeter S. Mazinger <ps.m@gmx.net>
Thu, 9 Mar 2006 15:18:36 +0000 (15:18 -0000)
libpthread/linuxthreads/libc_pthread_init.c
libpthread/linuxthreads/sysdeps/pthread/uClibc-glue.h

index 5ed9ab6..e346ed2 100644 (file)
 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;
index 5a72b77..f81c229 100644 (file)
@@ -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