From f1af331c4e87dee7d91e404b9f746c99ca3f2c71 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Thu, 6 May 2021 15:56:37 +0200 Subject: nptl: Move pthread_barrier_init into libc The symbol was moved using scripts/move-symbol-to-libc.py. Reviewed-by: Adhemerval Zanella --- include/pthread.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/pthread.h') diff --git a/include/pthread.h b/include/pthread.h index 858c869a16..a3e1cf51b0 100644 --- a/include/pthread.h +++ b/include/pthread.h @@ -8,6 +8,9 @@ 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)); -- cgit v1.2.3