public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Adhemerval Zanella <adhemerval.zanella@linaro.org>
To: libc-alpha@sourceware.org
Subject: [COMMITTED 4/4] nptl: Fix __pthread_clockjoin_np64 __pthread_timedjoin_np64 hidden proto
Date: Fri,  5 Mar 2021 08:49:06 -0300	[thread overview]
Message-ID: <20210305114906.122952-4-adhemerval.zanella@linaro.org> (raw)

They are both implemented in libpthread instead of libc.
---
 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 93f3cef00f..c8538de44f 100644
--- a/nptl/pthreadP.h
+++ b/nptl/pthreadP.h
@@ -469,10 +469,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,
-- 
2.25.1


                 reply	other threads:[~2021-03-05 11:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20210305114906.122952-4-adhemerval.zanella@linaro.org \
    --to=adhemerval.zanella@linaro.org \
    --cc=libc-alpha@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).