diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-05-06 15:56:37 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-05-06 15:56:37 +0200 |
commit | f1af331c4e87dee7d91e404b9f746c99ca3f2c71 (patch) | |
tree | ef6ff8254bf6fbed0f2a9132abc66b996197f4ef /include/pthread.h | |
parent | 43b3746aff2f20c5865f559a76896fc6b131c09c (diff) | |
download | glibc-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.h | 3 |
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)); |