diff options
Diffstat (limited to 'nptl/cleanup_routine.c')
-rw-r--r-- | nptl/cleanup_routine.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/nptl/cleanup_routine.c b/nptl/cleanup_routine.c index 973f088be7..929818051c 100644 --- a/nptl/cleanup_routine.c +++ b/nptl/cleanup_routine.c @@ -17,11 +17,18 @@ <https://www.gnu.org/licenses/>. */ #include <pthread.h> - +#include <shlib-compat.h> void -__pthread_cleanup_routine (struct __pthread_cleanup_frame *f) +___pthread_cleanup_routine (struct __pthread_cleanup_frame *f) { if (f->__do_it) f->__cancel_routine (f->__cancel_arg); } +versioned_symbol (libc, ___pthread_cleanup_routine, __pthread_cleanup_routine, + GLIBC_2_34); + +#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_3_3, GLIBC_2_34) +compat_symbol (libpthread, ___pthread_cleanup_routine, + __pthread_cleanup_routine, GLIBC_2_3_3); +#endif |