diff options
Diffstat (limited to 'sysdeps/nptl/futex-internal.h')
-rw-r--r-- | sysdeps/nptl/futex-internal.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sysdeps/nptl/futex-internal.h b/sysdeps/nptl/futex-internal.h index 91440637f1..e67803952f 100644 --- a/sysdeps/nptl/futex-internal.h +++ b/sysdeps/nptl/futex-internal.h @@ -413,10 +413,6 @@ __futex_abstimed_wait64 (unsigned int* futex_word, unsigned int expected, const struct __timespec64* abstime, int private) attribute_hidden; -int -__futex_clocklock_wait64 (int *futex, int val, clockid_t clockid, - const struct __timespec64 *abstime, - int private) attribute_hidden; static __always_inline int __futex_clocklock64 (int *futex, clockid_t clockid, @@ -428,7 +424,8 @@ __futex_clocklock64 (int *futex, clockid_t clockid, { while (atomic_exchange_acq (futex, 2) != 0) { - err = __futex_clocklock_wait64 (futex, 2, clockid, abstime, private); + err = __futex_abstimed_wait64 ((unsigned int *) futex, 2, clockid, + abstime, private); if (err == EINVAL || err == ETIMEDOUT || err == EOVERFLOW) break; } |