aboutsummaryrefslogtreecommitdiff
path: root/nptl/pthread_rwlockattr_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/pthread_rwlockattr_init.c')
-rw-r--r--nptl/pthread_rwlockattr_init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/nptl/pthread_rwlockattr_init.c b/nptl/pthread_rwlockattr_init.c
index 8d90647db0..32a33cdd6e 100644
--- a/nptl/pthread_rwlockattr_init.c
+++ b/nptl/pthread_rwlockattr_init.c
@@ -22,6 +22,10 @@
int
pthread_rwlockattr_init (pthread_rwlockattr_t *attr)
{
+ ASSERT_TYPE_SIZE (pthread_rwlockattr_t, __SIZEOF_PTHREAD_RWLOCKATTR_T);
+ ASSERT_PTHREAD_INTERNAL_SIZE (pthread_rwlockattr_t,
+ struct pthread_rwlockattr);
+
struct pthread_rwlockattr *iattr;
iattr = (struct pthread_rwlockattr *) attr;