From: gfleury <[email protected]>

Message-ID: <[email protected]>
---
 htl/Makefile             | 2 +-
 htl/Versions             | 1 +
 htl/pt-internal.h        | 1 +
 sysdeps/htl/pt-barrier.c | 1 +
 4 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/htl/Makefile b/htl/Makefile
index a4192a56b4..6404cba9b5 100644
--- a/htl/Makefile
+++ b/htl/Makefile
@@ -28,7 +28,6 @@ libpthread-routines := \
   pt-barrier-destroy \
   pt-barrier-init \
   pt-barrier-wait \
-  pt-barrier \
   pt-barrierattr-destroy \
   pt-barrierattr-init \
   pt-barrierattr-getpshared \
@@ -161,6 +160,7 @@ routines := \
   pt-attr-setstack \
   pt-attr-setstackaddr \
   pt-attr-setstacksize \
+  pt-barrier \
   pt-block \
   pt-block-intr \
   pt-cond \
diff --git a/htl/Versions b/htl/Versions
index d8f1c7f437..5aff085806 100644
--- a/htl/Versions
+++ b/htl/Versions
@@ -147,6 +147,7 @@ libc {
     __pthread_attr_setstacksize;
     __pthread_attr_setstackaddr;
     __pthread_attr_setstack;
+    __pthread_default_barrierattr;
     __pthread_setcancelstate;
     __pthread_cond_broadcast;
     __pthread_cond_destroy;
diff --git a/htl/pt-internal.h b/htl/pt-internal.h
index d19579b33b..506eaec50c 100644
--- a/htl/pt-internal.h
+++ b/htl/pt-internal.h
@@ -328,6 +328,7 @@ libc_hidden_proto (__pthread_default_attr)
 
 /* Default barrier attributes.  */
 extern const struct __pthread_barrierattr __pthread_default_barrierattr;
+libc_hidden_proto (__pthread_default_barrierattr)
 
 /* Default rdlock attributes.  */
 extern const struct __pthread_rwlockattr __pthread_default_rwlockattr;
diff --git a/sysdeps/htl/pt-barrier.c b/sysdeps/htl/pt-barrier.c
index 859c0848b6..e620a13feb 100644
--- a/sysdeps/htl/pt-barrier.c
+++ b/sysdeps/htl/pt-barrier.c
@@ -22,3 +22,4 @@
 const struct __pthread_barrierattr __pthread_default_barrierattr = {
   __pshared: PTHREAD_PROCESS_PRIVATE
 };
+libc_hidden_data_def (__pthread_default_barrierattr)
-- 
2.47.2


Reply via email to