summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2025-11-22 11:54:12 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2025-11-22 21:55:02 +0100
commitc71ee65a7932e68f6d5b6390150378624387a9ac (patch)
tree480b41156b8d1185a9cbf869bb025b3146fa4fd5
parent585eee3962d00490a95790035714d53c81cc38ba (diff)
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.
-rw-r--r--include/pthread.h4
1 files changed, 0 insertions, 4 deletions
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));