diff options
Diffstat (limited to 'libpthread/nptl/sysdeps/pthread/bits/libc-lock.h')
-rw-r--r-- | libpthread/nptl/sysdeps/pthread/bits/libc-lock.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libpthread/nptl/sysdeps/pthread/bits/libc-lock.h b/libpthread/nptl/sysdeps/pthread/bits/libc-lock.h index d043a0d2e..fb085f5be 100644 --- a/libpthread/nptl/sysdeps/pthread/bits/libc-lock.h +++ b/libpthread/nptl/sysdeps/pthread/bits/libc-lock.h @@ -409,6 +409,9 @@ extern void _pthread_cleanup_pop_restore (struct _pthread_cleanup_buffer *buffer /* Normal cleanup handling, based on C cleanup attribute. */ extern __inline void +__libc_cleanup_routine (struct __pthread_cleanup_frame *f); + +extern __inline void __libc_cleanup_routine (struct __pthread_cleanup_frame *f) { if (f->__do_it) @@ -528,10 +531,11 @@ weak_extern (__pthread_key_create) weak_extern (__pthread_setspecific) weak_extern (__pthread_getspecific) weak_extern (__pthread_once) -weak_extern (__pthread_initialize) weak_extern (__pthread_atfork) +#ifdef SHARED weak_extern (_pthread_cleanup_push_defer) weak_extern (_pthread_cleanup_pop_restore) +#endif weak_extern (pthread_setcancelstate) # else # pragma weak __pthread_mutex_init @@ -552,7 +556,6 @@ weak_extern (pthread_setcancelstate) # 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 |