1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00

linux: Fix __thrd_sleep64 hidden definition

The symbol is exported by libc.
This commit is contained in:
Adhemerval Zanella
2021-02-25 20:43:13 -03:00
parent 6990a72679
commit 4b9bedbc90
2 changed files with 2 additions and 2 deletions

View File

@ -31,5 +31,5 @@ extern int __mtx_timedlock64 (mtx_t *restrict mutex,
libpthread_hidden_proto (__mtx_timedlock64) libpthread_hidden_proto (__mtx_timedlock64)
extern int __thrd_sleep64 (const struct __timespec64 *time_point, extern int __thrd_sleep64 (const struct __timespec64 *time_point,
struct __timespec64 *remaining); struct __timespec64 *remaining);
libpthread_hidden_proto (__thrd_sleep64) libc_hidden_proto (__thrd_sleep64)
#endif #endif

View File

@ -38,7 +38,7 @@ __thrd_sleep64 (const struct __timespec64 *time_point,
} }
#if __TIMESIZE != 64 #if __TIMESIZE != 64
libpthread_hidden_def (__thrd_sleep64) libc_hidden_def (__thrd_sleep64)
int int
__thrd_sleep (const struct timespec *time_point, struct timespec *remaining) __thrd_sleep (const struct timespec *time_point, struct timespec *remaining)