1
0
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:
Samuel Thibault
2020-01-13 01:17:07 +01:00
parent e404be33fe
commit 196e62cbe4
14 changed files with 42 additions and 0 deletions

View File

@@ -25,6 +25,8 @@
int
__pthread_cond_init (pthread_cond_t *cond, const pthread_condattr_t * attr)
{
ASSERT_TYPE_SIZE (pthread_cond_t, __SIZEOF_PTHREAD_COND_T);
*cond = (pthread_cond_t) __PTHREAD_COND_INITIALIZER;
if (attr == NULL