public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [COMMITTED 3/4] linux: Fix __thrd_sleep64 hidden definition
@ 2021-03-05 11:49 Adhemerval Zanella
  0 siblings, 0 replies; only message in thread
From: Adhemerval Zanella @ 2021-03-05 11:49 UTC (permalink / raw)
  To: libc-alpha

The symbol is exported by libc.
---
 sysdeps/unix/sysv/linux/thrd_priv.h  | 2 +-
 sysdeps/unix/sysv/linux/thrd_sleep.c | 2 +-
 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 d38ddf4612..9fb300df03 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 73c6c5f1b1..a84a7c5ffa 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)
-- 
2.25.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-05 11:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-05 11:49 [COMMITTED 3/4] linux: Fix __thrd_sleep64 hidden definition Adhemerval Zanella

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).