From: Samuel Thibault Date: Sat, 22 Nov 2025 10:54:12 +0000 (+0100) Subject: pthread: Simplify condition for hidden proto X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c71ee65a7932e68f6d5b6390150378624387a9ac;p=thirdparty%2Fglibc.git 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. --- diff --git a/include/pthread.h b/include/pthread.h index 819bf3f235..9e31b74916 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));