summaryrefslogtreecommitdiff
path: root/libpthread
diff options
context:
space:
mode:
authorBernd Schmidt <bernds@codesourcery.com>2012-07-24 15:39:48 +0200
committerBernd Schmidt <bernds@codesourcery.com>2012-07-24 15:51:23 +0200
commit3411a732eccb355e0301cb71a176bf5ce00940b1 (patch)
tree996400ba29ecd3f9c1ef80fb28e0d0fa8175b347 /libpthread
parent8345b5cfe1f18cec034b21ca444ff9acba0b7eb9 (diff)
Remove pragma weak for undeclared symbol
pthread_initialize is a static function and should not be mentioned in a header. The #pragma weak for it appears to confuse gcc-4.7. Signed-off-by: Bernd Schmidt <bernds@codesourcery.com
Diffstat (limited to 'libpthread')
-rw-r--r--libpthread/linuxthreads.old/sysdeps/pthread/bits/libc-lock.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/libpthread/linuxthreads.old/sysdeps/pthread/bits/libc-lock.h b/libpthread/linuxthreads.old/sysdeps/pthread/bits/libc-lock.h
index de85f998e..776b0b55a 100644
--- a/libpthread/linuxthreads.old/sysdeps/pthread/bits/libc-lock.h
+++ b/libpthread/linuxthreads.old/sysdeps/pthread/bits/libc-lock.h
@@ -377,7 +377,6 @@ weak_extern (BP_SYM (__pthread_key_create))
weak_extern (BP_SYM (__pthread_setspecific))
weak_extern (BP_SYM (__pthread_getspecific))
weak_extern (BP_SYM (__pthread_once))
-weak_extern (__pthread_initialize)
weak_extern (__pthread_atfork)
weak_extern (BP_SYM (_pthread_cleanup_push))
weak_extern (BP_SYM (_pthread_cleanup_pop))
@@ -402,7 +401,6 @@ weak_extern (BP_SYM (_pthread_cleanup_pop_restore))
# pragma weak __pthread_setspecific
# pragma weak __pthread_getspecific
# pragma weak __pthread_once
-# pragma weak __pthread_initialize
# pragma weak __pthread_atfork
# pragma weak _pthread_cleanup_push_defer
# pragma weak _pthread_cleanup_pop_restore