diff options
Diffstat (limited to 'sysdeps/htl/pt-condattr-getclock.c')
-rw-r--r-- | sysdeps/htl/pt-condattr-getclock.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sysdeps/htl/pt-condattr-getclock.c b/sysdeps/htl/pt-condattr-getclock.c index a1ac71b..cea53f4 100644 --- a/sysdeps/htl/pt-condattr-getclock.c +++ b/sysdeps/htl/pt-condattr-getclock.c @@ -17,13 +17,18 @@ <https://www.gnu.org/licenses/>. */ #include <pthread.h> +#include <shlib-compat.h> #include <time.h> - #include <pt-internal.h> int -pthread_condattr_getclock (const pthread_condattr_t *attr, clockid_t * clock) +__pthread_condattr_getclock (const pthread_condattr_t *attr, clockid_t * clock) { *clock = attr->__clock; return 0; } +versioned_symbol (libc, __pthread_condattr_getclock, pthread_condattr_getclock, GLIBC_2_41); + +#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_12, GLIBC_2_41) +compat_symbol (libpthread, __pthread_condattr_getclock, pthread_condattr_getclock, GLIBC_2_12); +#endif |