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] nptl: Fix __pthread_clockjoin_np64 __pthread_timedjoin_np64 hidden proto
Date: Tue, 23 Feb 2021 20:39:43 +0000 (GMT)	[thread overview]
Message-ID: <20210223203943.4E4083945C2C@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=12fe0d5b540c273f80db1ea5b93cd657defadf3d

commit 12fe0d5b540c273f80db1ea5b93cd657defadf3d
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Feb 17 11:10:52 2021 -0300

    nptl: Fix __pthread_clockjoin_np64 __pthread_timedjoin_np64 hidden proto
    
    They are both implemented in libpthread instead of libc.

Diff:
---
 nptl/pthreadP.h          | 4 ++--
 nptl/pthread_clockjoin.c | 2 +-
 nptl/pthread_timedjoin.c | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/nptl/pthreadP.h b/nptl/pthreadP.h
index d078128230..61f9a83254 100644
--- a/nptl/pthreadP.h
+++ b/nptl/pthreadP.h
@@ -467,10 +467,10 @@ extern int __pthread_cond_wait (pthread_cond_t *cond, pthread_mutex_t *mutex);
 extern int __pthread_clockjoin_np64 (pthread_t threadid, void **thread_return,
                                      clockid_t clockid,
                                      const struct __timespec64 *abstime);
-libc_hidden_proto (__pthread_clockjoin_np64)
+libpthread_hidden_proto (__pthread_clockjoin_np64)
 extern int __pthread_timedjoin_np64 (pthread_t threadid, void **thread_return,
                                      const struct __timespec64 *abstime);
-libc_hidden_proto (__pthread_timedjoin_np64)
+libpthread_hidden_proto (__pthread_timedjoin_np64)
 extern int __pthread_cond_timedwait64 (pthread_cond_t *cond,
                                        pthread_mutex_t *mutex,
                                        const struct __timespec64 *abstime);
diff --git a/nptl/pthread_clockjoin.c b/nptl/pthread_clockjoin.c
index c55ab8bd09..7457c187fe 100644
--- a/nptl/pthread_clockjoin.c
+++ b/nptl/pthread_clockjoin.c
@@ -32,7 +32,7 @@ __pthread_clockjoin_np64 (pthread_t threadid, void **thread_return,
 }
 
 #if __TIMESIZE != 64
-libc_hidden_def (__pthread_clockjoin_np64)
+libpthread_hidden_def (__pthread_clockjoin_np64)
 
 int
 __pthread_clockjoin_np (pthread_t threadid, void **thread_return,
diff --git a/nptl/pthread_timedjoin.c b/nptl/pthread_timedjoin.c
index 282483cc49..f5d0d3d6ce 100644
--- a/nptl/pthread_timedjoin.c
+++ b/nptl/pthread_timedjoin.c
@@ -28,7 +28,7 @@ __pthread_timedjoin_np64 (pthread_t threadid, void **thread_return,
 }
 
 #if __TIMESIZE != 64
-libc_hidden_def (__pthread_timedjoin_np64)
+libpthread_hidden_def (__pthread_timedjoin_np64)
 
 int
 __pthread_timedjoin_np (pthread_t threadid, void **thread_return,


             reply	other threads:[~2021-02-23 20:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-23 20:39 Adhemerval Zanella [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-03-04 17:37 Adhemerval Zanella
2021-03-04 11:29 Adhemerval Zanella
2021-03-02 12:31 Adhemerval Zanella
2021-03-01 17:36 Adhemerval Zanella
2021-02-26 20:42 Adhemerval Zanella
2021-02-23 12:37 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=20210223203943.4E4083945C2C@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).