summaryrefslogtreecommitdiffstats
path: root/libpthread/linuxthreads.old/libc_pthread_init.c
diff options
context:
space:
mode:
authorRon <ron@debian.org>2009-06-27 04:44:21 +0930
committerAustin Foxley <austinf@cetoncorp.com>2009-07-09 01:35:24 -0700
commit4dc09127f6782c77f3d92268d78a46f8a1a8492d (patch)
treec9694e1a95ec398e0834053dd82d37ee6766137f /libpthread/linuxthreads.old/libc_pthread_init.c
parentf241d2e5e336d440db106e972138664baeadfd70 (diff)
downloaduClibc-alpine-4dc09127f6782c77f3d92268d78a46f8a1a8492d.tar.bz2
uClibc-alpine-4dc09127f6782c77f3d92268d78a46f8a1a8492d.tar.xz
Check #if feature test macros are defined where they may not be
Once again all of these reduce the noise from gcc-4.4. Replaces a few more (USE_TLS && HAVE___THREAD) with USE___THREAD while we need to mess with them for this anyhow. Signed-off-by: Ron Lee <ron@debian.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libpthread/linuxthreads.old/libc_pthread_init.c')
-rw-r--r--libpthread/linuxthreads.old/libc_pthread_init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpthread/linuxthreads.old/libc_pthread_init.c b/libpthread/linuxthreads.old/libc_pthread_init.c
index 6cdad844d..6bd08076c 100644
--- a/libpthread/linuxthreads.old/libc_pthread_init.c
+++ b/libpthread/linuxthreads.old/libc_pthread_init.c
@@ -26,7 +26,7 @@
/* Experimentally off - libc_hidden_proto(memcpy) */
-#if !(USE_TLS && HAVE___THREAD) && defined __UCLIBC_HAS_XLOCALE__
+#if ! defined USE___THREAD && defined __UCLIBC_HAS_XLOCALE__
/* libc_hidden_proto(uselocale) */
#endif
@@ -42,7 +42,7 @@ int * __libc_pthread_init (const struct pthread_functions *functions)
sizeof (__libc_pthread_functions));
#endif
-#if !(USE_TLS && HAVE___THREAD) && defined __UCLIBC_HAS_XLOCALE__
+#if ! defined USE___THREAD && defined __UCLIBC_HAS_XLOCALE__
/* 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);