about summary refs log tree commit diff
path: root/include/pthread.h
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-05-06 15:56:37 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-05-06 15:56:37 +0200
commitf1af331c4e87dee7d91e404b9f746c99ca3f2c71 (patch)
treeef6ff8254bf6fbed0f2a9132abc66b996197f4ef /include/pthread.h
parent43b3746aff2f20c5865f559a76896fc6b131c09c (diff)
downloadglibc-f1af331c4e87dee7d91e404b9f746c99ca3f2c71.tar.gz
glibc-f1af331c4e87dee7d91e404b9f746c99ca3f2c71.tar.xz
glibc-f1af331c4e87dee7d91e404b9f746c99ca3f2c71.zip
nptl: Move pthread_barrier_init into libc
The symbol was moved using scripts/move-symbol-to-libc.py.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'include/pthread.h')
-rw-r--r--include/pthread.h3
1 files changed, 3 insertions, 0 deletions
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));