From c71ee65a7932e68f6d5b6390150378624387a9ac Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 22 Nov 2025 11:54:12 +0100 Subject: [PATCH] pthread: Simplify condition for hidden proto This is not needed yet for htl (only the Linux mq_notify), but we can as well just simplify the header. --- include/pthread.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/pthread.h b/include/pthread.h index 819bf3f235e..9e31b74916d 100644 --- a/include/pthread.h +++ b/include/pthread.h @@ -8,14 +8,10 @@ extern int __pthread_barrier_init (pthread_barrier_t *__restrict __barrier, const pthread_barrierattr_t *__restrict __attr, unsigned int __count) __THROW __nonnull ((1)); -#if PTHREAD_IN_LIBC libc_hidden_proto (__pthread_barrier_init) -#endif extern int __pthread_barrier_wait (pthread_barrier_t *__barrier) __THROWNL __nonnull ((1)); -#if PTHREAD_IN_LIBC libc_hidden_proto (__pthread_barrier_wait) -#endif /* This function is called to initialize the pthread library. */ extern void __pthread_initialize (void) __attribute__ ((weak)); -- 2.47.3