public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Adhemerval Zanella <azanella@sourceware.org>
To: glibc-cvs@sourceware.org
Subject: [glibc/azanella/y2038] linux: Fix __thrd_sleep64 hidden definition
Date: Thu,  4 Mar 2021 17:36:03 +0000 (GMT)	[thread overview]
Message-ID: <20210304173603.15754386102B@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=564369e5e1899b4d9b5a6e10a35754159559d14d

commit 564369e5e1899b4d9b5a6e10a35754159559d14d
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Feb 25 20:43:13 2021 -0300

    linux: Fix __thrd_sleep64 hidden definition
    
    The symbol is exported by libc.

Diff:
---
 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)


             reply	other threads:[~2021-03-04 17:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-04 17:36 Adhemerval Zanella [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-03-04 11:28 Adhemerval Zanella
2021-03-02 12:30 Adhemerval Zanella
2021-03-01 17:35 Adhemerval Zanella
2021-02-26 20:40 Adhemerval Zanella

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210304173603.15754386102B@sourceware.org \
    --to=azanella@sourceware.org \
    --cc=glibc-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).