From e8c6de1939e1f8a2898a0e53134fa175560b9469 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Tue, 18 Nov 2008 01:09:55 +0000 Subject: libc_hidden_proto removal, just a few functions --- libpthread/linuxthreads.old/forward.c | 3 ++- libpthread/linuxthreads.old/libc_pthread_init.c | 2 +- libpthread/linuxthreads/forward.c | 2 +- libpthread/linuxthreads/libc_pthread_init.c | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) (limited to 'libpthread') diff --git a/libpthread/linuxthreads.old/forward.c b/libpthread/linuxthreads.old/forward.c index 5dc9cf4c0..aa5c8abd9 100644 --- a/libpthread/linuxthreads.old/forward.c +++ b/libpthread/linuxthreads.old/forward.c @@ -22,9 +22,9 @@ #include /* psm: keep this before internals.h */ -libc_hidden_proto(exit) #if 0 vda: here is why: +headers contain libc_hidden_proto(foo). In libpthread/linuxthreads.old/sysdeps/pthread/bits/libc-lock.h adding libc_hidden_proto(foo) just before weak_extern (__pthread_initialize) will not warn: @@ -38,6 +38,7 @@ TODO: determine whether it is a gcc bug or what For now, just include all headers before internals.h (they are again included in internals.h - maybe remove them there later) #endif + #include #include #include diff --git a/libpthread/linuxthreads.old/libc_pthread_init.c b/libpthread/linuxthreads.old/libc_pthread_init.c index 09606effb..6cdad844d 100644 --- a/libpthread/linuxthreads.old/libc_pthread_init.c +++ b/libpthread/linuxthreads.old/libc_pthread_init.c @@ -27,7 +27,7 @@ /* Experimentally off - libc_hidden_proto(memcpy) */ #if !(USE_TLS && HAVE___THREAD) && defined __UCLIBC_HAS_XLOCALE__ -libc_hidden_proto(uselocale) +/* libc_hidden_proto(uselocale) */ #endif int __libc_multiple_threads attribute_hidden __attribute__((nocommon)); diff --git a/libpthread/linuxthreads/forward.c b/libpthread/linuxthreads/forward.c index 2cd019651..f9f8ea1ba 100644 --- a/libpthread/linuxthreads/forward.c +++ b/libpthread/linuxthreads/forward.c @@ -22,7 +22,7 @@ #include /* psm: keep this before internals.h */ -libc_hidden_proto(exit) +/* libc_hidden_proto(exit) */ #include "internals.h" diff --git a/libpthread/linuxthreads/libc_pthread_init.c b/libpthread/linuxthreads/libc_pthread_init.c index f89c2872e..30490de27 100644 --- a/libpthread/linuxthreads/libc_pthread_init.c +++ b/libpthread/linuxthreads/libc_pthread_init.c @@ -30,7 +30,7 @@ #endif #if !(USE_TLS && HAVE___THREAD) && defined __UCLIBC_HAS_XLOCALE__ -libc_hidden_proto(uselocale) +/* libc_hidden_proto(uselocale) */ #endif int * -- cgit v1.2.3