From 196e62cbe4acdab22a95740b618c699863ed460c Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 13 Jan 2020 01:17:07 +0100 Subject: htl: Add type sizes in bits/pthreadtypes-arch.h and check them --- sysdeps/htl/pt-condattr-init.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sysdeps/htl/pt-condattr-init.c') diff --git a/sysdeps/htl/pt-condattr-init.c b/sysdeps/htl/pt-condattr-init.c index 9018490ab0..90f5d1b6d6 100644 --- a/sysdeps/htl/pt-condattr-init.c +++ b/sysdeps/htl/pt-condattr-init.c @@ -22,6 +22,8 @@ int __pthread_condattr_init (pthread_condattr_t *attr) { + ASSERT_TYPE_SIZE (pthread_condattr_t, __SIZEOF_PTHREAD_CONDATTR_T); + *attr = __pthread_default_condattr; return 0; } -- cgit 1.4.1