aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-02-25 20:43:13 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-03-05 08:35:50 -0300
commit4b9bedbc9032981f3c4ff9822d8d2015a8c026bc (patch)
treee140c5b14337d05797e79cc73d2cfe529ccfdfe9
parent6990a72679515ec2fd87e4ed408667051d81eebb (diff)
downloadglibc-4b9bedbc9032981f3c4ff9822d8d2015a8c026bc.zip
glibc-4b9bedbc9032981f3c4ff9822d8d2015a8c026bc.tar.gz
glibc-4b9bedbc9032981f3c4ff9822d8d2015a8c026bc.tar.bz2
linux: Fix __thrd_sleep64 hidden definition
The symbol is exported by libc.
-rw-r--r--sysdeps/unix/sysv/linux/thrd_priv.h2
-rw-r--r--sysdeps/unix/sysv/linux/thrd_sleep.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/thrd_priv.h b/sysdeps/unix/sysv/linux/thrd_priv.h
index d38ddf4..9fb300d 100644
--- a/sysdeps/unix/sysv/linux/thrd_priv.h
+++ b/sysdeps/unix/sysv/linux/thrd_priv.h
@@ -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
diff --git a/sysdeps/unix/sysv/linux/thrd_sleep.c b/sysdeps/unix/sysv/linux/thrd_sleep.c
index 73c6c5f..a84a7c5 100644
--- a/sysdeps/unix/sysv/linux/thrd_sleep.c
+++ b/sysdeps/unix/sysv/linux/thrd_sleep.c
@@ -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)