diff options
Diffstat (limited to 'sysdeps/hurd')
-rw-r--r-- | sysdeps/hurd/htl/pt-kill.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sysdeps/hurd/htl/pt-kill.c b/sysdeps/hurd/htl/pt-kill.c index 77be247..f3a283f 100644 --- a/sysdeps/hurd/htl/pt-kill.c +++ b/sysdeps/hurd/htl/pt-kill.c @@ -22,6 +22,8 @@ #include <hurd/signal.h> #include <pt-internal.h> +#include <shlib-compat.h> +#include <ldsodefs.h> int __pthread_kill (pthread_t thread, int sig) @@ -52,4 +54,9 @@ __pthread_kill (pthread_t thread, int sig) __spin_lock (&ss->lock); return _hurd_raise_signal (ss, sig, &detail); } -strong_alias (__pthread_kill, pthread_kill) + +versioned_symbol (libc, __pthread_kill, pthread_kill, GLIBC_2_43); + +#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_12, GLIBC_2_43) +compat_symbol (libpthread, __pthread_kill, pthread_kill, GLIBC_2_12); +#endif |