about summary refs log tree commit diff
path: root/sysdeps/htl/pt-barrierattr-init.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/htl/pt-barrierattr-init.c')
-rw-r--r--sysdeps/htl/pt-barrierattr-init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/htl/pt-barrierattr-init.c b/sysdeps/htl/pt-barrierattr-init.c
index ddda87d1c8..a0d0e3a98f 100644
--- a/sysdeps/htl/pt-barrierattr-init.c
+++ b/sysdeps/htl/pt-barrierattr-init.c
@@ -22,6 +22,8 @@
 int
 pthread_barrierattr_init (pthread_barrierattr_t *attr)
 {
+  ASSERT_TYPE_SIZE (pthread_barrierattr_t, __SIZEOF_PTHREAD_BARRIERATTR_T);
+
   *attr = __pthread_default_barrierattr;
   return 0;
 }