aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/htl/pt-mutexattr-init.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/htl/pt-mutexattr-init.c')
-rw-r--r--sysdeps/mach/hurd/htl/pt-mutexattr-init.c2
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;
}