aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/htl/pt-once.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/htl/pt-once.c')
-rw-r--r--sysdeps/htl/pt-once.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/htl/pt-once.c b/sysdeps/htl/pt-once.c
index b818ca4d24..0581f7bd6c 100644
--- a/sysdeps/htl/pt-once.c
+++ b/sysdeps/htl/pt-once.c
@@ -24,6 +24,8 @@
int
__pthread_once (pthread_once_t *once_control, void (*init_routine) (void))
{
+ ASSERT_TYPE_SIZE (pthread_once_t, __SIZEOF_PTHREAD_ONCE_T);
+
atomic_full_barrier ();
if (once_control->__run == 0)
{