linux: Fix __thrd_sleep64 hidden definition
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 25 Feb 2021 23:43:13 +0000 (20:43 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 5 Mar 2021 11:35:50 +0000 (08:35 -0300)
The symbol is exported by libc.

sysdeps/unix/sysv/linux/thrd_priv.h
sysdeps/unix/sysv/linux/thrd_sleep.c

index d38ddf4..9fb300d 100644 (file)
@@ -31,5 +31,5 @@ extern int __mtx_timedlock64 (mtx_t *restrict mutex,
 libpthread_hidden_proto (__mtx_timedlock64)
 extern int __thrd_sleep64 (const struct __timespec64 *time_point,
                            struct __timespec64 *remaining);
-libpthread_hidden_proto (__thrd_sleep64)
+libc_hidden_proto (__thrd_sleep64)
 #endif
index 73c6c5f..a84a7c5 100644 (file)
@@ -38,7 +38,7 @@ __thrd_sleep64 (const struct __timespec64 *time_point,
 }
 
 #if __TIMESIZE != 64
-libpthread_hidden_def (__thrd_sleep64)
+libc_hidden_def (__thrd_sleep64)
 
 int
 __thrd_sleep (const struct timespec *time_point, struct timespec *remaining)