Don't declare __pthread_unwind as weak inside libpthread.
authorUlrich Drepper <drepper@redhat.com>
Wed, 12 Nov 2003 05:36:25 +0000 (05:36 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 12 Nov 2003 05:36:25 +0000 (05:36 +0000)
nptl/pthreadP.h

index 986e378..1bfcf35 100644 (file)
@@ -110,7 +110,7 @@ extern int __pthread_debug attribute_hidden;
 
 extern void __pthread_unwind (__pthread_unwind_buf_t *__buf)
      __cleanup_fct_attribute __attribute ((__noreturn__))
-#ifndef SHARED
+#if !defined SHARED && !defined IS_IN_libpthread
      weak_function
 #endif
      ;