diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-01-13 01:17:07 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-01-13 01:24:43 +0100 |
commit | 196e62cbe4acdab22a95740b618c699863ed460c (patch) | |
tree | 5ef9cc8050f63da1e83683b703918f0c52931c9f /sysdeps/mach/hurd/htl/pt-mutexattr-init.c | |
parent | e404be33feaa586231fe30e3bdf6d380a79c2679 (diff) | |
download | glibc-196e62cbe4acdab22a95740b618c699863ed460c.tar.gz glibc-196e62cbe4acdab22a95740b618c699863ed460c.tar.xz glibc-196e62cbe4acdab22a95740b618c699863ed460c.zip |
htl: Add type sizes in bits/pthreadtypes-arch.h and check them
Diffstat (limited to 'sysdeps/mach/hurd/htl/pt-mutexattr-init.c')
-rw-r--r-- | sysdeps/mach/hurd/htl/pt-mutexattr-init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/htl/pt-mutexattr-init.c b/sysdeps/mach/hurd/htl/pt-mutexattr-init.c index f659a51c28..569ed11c9c 100644 --- a/sysdeps/mach/hurd/htl/pt-mutexattr-init.c +++ b/sysdeps/mach/hurd/htl/pt-mutexattr-init.c @@ -33,6 +33,8 @@ static const pthread_mutexattr_t dfl_attr = { int __pthread_mutexattr_init (pthread_mutexattr_t *attrp) { + ASSERT_TYPE_SIZE (pthread_mutexattr_t, __SIZEOF_PTHREAD_MUTEXATTR_T); + *attrp = dfl_attr; return 0; } |