diff options
| author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-11-18 06:53:52 +0000 |
|---|---|---|
| committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-11-18 06:53:52 +0000 |
| commit | 48afc85aad88aa4f7501bf7715c86b4e94628960 (patch) | |
| tree | ff3e5fdc63016ea41f7475844e8598af7ead4c2f /libpthread/linuxthreads.old | |
| parent | 892cc11771a53d7ee30c5334ca2bda56fd6e6c8b (diff) | |
| download | uClibc-alpine-48afc85aad88aa4f7501bf7715c86b4e94628960.tar.bz2 uClibc-alpine-48afc85aad88aa4f7501bf7715c86b4e94628960.tar.xz | |
Synch with trunk @ 24087
Step 10: libc_hidden_removal
Diffstat (limited to 'libpthread/linuxthreads.old')
| -rw-r--r-- | libpthread/linuxthreads.old/forward.c | 3 | ||||
| -rw-r--r-- | libpthread/linuxthreads.old/libc_pthread_init.c | 2 |
2 files changed, 3 insertions, 2 deletions
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 <dlfcn.h> /* 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 <string.h> #include <limits.h> #include <setjmp.h> 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)); |
