Mark pthread_setcancelstate as weak.
authordrepper <drepper>
Sun, 31 Aug 2003 18:55:34 +0000 (18:55 +0000)
committerdrepper <drepper>
Sun, 31 Aug 2003 18:55:34 +0000 (18:55 +0000)
nptl/sysdeps/pthread/bits/libc-lock.h

index f7ed88d..327e383 100644 (file)
@@ -534,6 +534,7 @@ weak_extern (__pthread_initialize)
 weak_extern (__pthread_atfork)
 weak_extern (BP_SYM (_pthread_cleanup_push_defer))
 weak_extern (BP_SYM (_pthread_cleanup_pop_restore))
+weak_extern (BP_SYM (pthread_setcancelstate))
 # else
 #  pragma weak __pthread_mutex_init
 #  pragma weak __pthread_mutex_destroy
@@ -557,6 +558,7 @@ weak_extern (BP_SYM (_pthread_cleanup_pop_restore))
 #  pragma weak __pthread_atfork
 #  pragma weak _pthread_cleanup_push_defer
 #  pragma weak _pthread_cleanup_pop_restore
+#  pragma weak pthread_setcancelstate
 # endif
 #endif