mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
htl: Add type sizes in bits/pthreadtypes-arch.h and check them
This commit is contained in:
@@ -24,6 +24,8 @@ int
|
||||
_pthread_rwlock_init (pthread_rwlock_t *rwlock,
|
||||
const pthread_rwlockattr_t *attr)
|
||||
{
|
||||
ASSERT_TYPE_SIZE (pthread_rwlock_t, __SIZEOF_PTHREAD_RWLOCK_T);
|
||||
|
||||
*rwlock = (pthread_rwlock_t) __PTHREAD_RWLOCK_INITIALIZER;
|
||||
|
||||
if (attr == NULL
|
||||
|
Reference in New Issue
Block a user