diff options
Diffstat (limited to 'sysdeps/htl/sem-trywait.c')
-rw-r--r-- | sysdeps/htl/sem-trywait.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sysdeps/htl/sem-trywait.c b/sysdeps/htl/sem-trywait.c index 38846bf..0d1e9cd 100644 --- a/sysdeps/htl/sem-trywait.c +++ b/sysdeps/htl/sem-trywait.c @@ -21,6 +21,7 @@ #include <hurd.h> #include <pt-internal.h> +#include <shlib-compat.h> int __sem_trywait (sem_t *sem) @@ -33,4 +34,8 @@ __sem_trywait (sem_t *sem) return __hurd_fail (EAGAIN); } -weak_alias (__sem_trywait, sem_trywait); +libc_hidden_def (__sem_trywait) +versioned_symbol (libc, __sem_trywait, sem_trywait, GLIBC_2_43); +# if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_12, GLIBC_2_43) +compat_symbol (libpthread, __sem_trywait, sem_trywait, GLIBC_2_12); +#endif |