nptl: Fix __pthread_clockjoin_np64 __pthread_timedjoin_np64 hidden proto
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 17 Feb 2021 14:10:52 +0000 (11:10 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 5 Mar 2021 11:36:01 +0000 (08:36 -0300)
They are both implemented in libpthread instead of libc.

nptl/pthreadP.h
nptl/pthread_clockjoin.c
nptl/pthread_timedjoin.c

index 93f3cef00fc45a051d3a611112fb2b221bc2ef84..c8538de44fb0a9286cd82bb0d64b9637d3541561 100644 (file)
@@ -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);
index c55ab8bd092144e9a9c3f83864305ce1707c8688..7457c187fedc711923a0ff5fd127e049d1a2ad55 100644 (file)
@@ -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,
index 282483cc49df7cf0ee29e3bd1bfdf1419d952ba7..f5d0d3d6ce612a0653d56d7c5e6ca291bbf9aabe 100644 (file)
@@ -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,