aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-02-17 11:10:52 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-03-05 08:36:01 -0300
commit6bb0d2fe0a15ae69f0c351bd2b83a737b8da771f (patch)
treedea5ae993ca17651b34a16226e1a01e93dc7b448
parent4b9bedbc9032981f3c4ff9822d8d2015a8c026bc (diff)
downloadglibc-6bb0d2fe0a15ae69f0c351bd2b83a737b8da771f.tar
glibc-6bb0d2fe0a15ae69f0c351bd2b83a737b8da771f.tar.gz
glibc-6bb0d2fe0a15ae69f0c351bd2b83a737b8da771f.tar.bz2
glibc-6bb0d2fe0a15ae69f0c351bd2b83a737b8da771f.zip
nptl: Fix __pthread_clockjoin_np64 __pthread_timedjoin_np64 hidden proto
They are both implemented in libpthread instead of libc.
-rw-r--r--nptl/pthreadP.h4
-rw-r--r--nptl/pthread_clockjoin.c2
-rw-r--r--nptl/pthread_timedjoin.c2
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,