about summary refs log tree commit diff
path: root/sysdeps/htl/pt-barrier-init.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/htl/pt-barrier-init.c')
-rw-r--r--sysdeps/htl/pt-barrier-init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/htl/pt-barrier-init.c b/sysdeps/htl/pt-barrier-init.c
index f8befde66d..2197618238 100644
--- a/sysdeps/htl/pt-barrier-init.c
+++ b/sysdeps/htl/pt-barrier-init.c
@@ -26,6 +26,8 @@ int
 pthread_barrier_init (pthread_barrier_t *barrier,
 		      const pthread_barrierattr_t *attr, unsigned count)
 {
+  ASSERT_TYPE_SIZE (pthread_barrier_t, __SIZEOF_PTHREAD_BARRIER_T);
+
   if (count == 0)
     return EINVAL;