aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/htl/pt-rwlockattr-init.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-01-13 01:17:07 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-01-13 01:24:43 +0100
commit196e62cbe4acdab22a95740b618c699863ed460c (patch)
tree5ef9cc8050f63da1e83683b703918f0c52931c9f /sysdeps/htl/pt-rwlockattr-init.c
parente404be33feaa586231fe30e3bdf6d380a79c2679 (diff)
downloadglibc-196e62cbe4acdab22a95740b618c699863ed460c.zip
glibc-196e62cbe4acdab22a95740b618c699863ed460c.tar.gz
glibc-196e62cbe4acdab22a95740b618c699863ed460c.tar.bz2
htl: Add type sizes in bits/pthreadtypes-arch.h and check them
Diffstat (limited to 'sysdeps/htl/pt-rwlockattr-init.c')
-rw-r--r--sysdeps/htl/pt-rwlockattr-init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/htl/pt-rwlockattr-init.c b/sysdeps/htl/pt-rwlockattr-init.c
index 721e5ec..bbc7b87 100644
--- a/sysdeps/htl/pt-rwlockattr-init.c
+++ b/sysdeps/htl/pt-rwlockattr-init.c
@@ -22,6 +22,8 @@
int
pthread_rwlockattr_init (pthread_rwlockattr_t *attr)
{
+ ASSERT_TYPE_SIZE (pthread_rwlockattr_t, __SIZEOF_PTHREAD_RWLOCKATTR_T);
+
*attr = __pthread_default_rwlockattr;
return 0;
}