1*640235e2SEnji Cooper /* C99 nested struct init with named and non-named initializers */ 2*640235e2SEnji Cooper typedef struct pthread_mutex_t { 3*640235e2SEnji Cooper unsigned int ptm_magic; 4*640235e2SEnji Cooper char ptm_errorcheck; 5*640235e2SEnji Cooper 6*640235e2SEnji Cooper char ptm_pad1[3]; 7*640235e2SEnji Cooper 8*640235e2SEnji Cooper char ptm_interlock; 9*640235e2SEnji Cooper 10*640235e2SEnji Cooper char ptm_pad2[3]; 11*640235e2SEnji Cooper 12*640235e2SEnji Cooper volatile void * ptm_owner; 13*640235e2SEnji Cooper void * volatile ptm_waiters; 14*640235e2SEnji Cooper unsigned int ptm_recursed; 15*640235e2SEnji Cooper void *ptm_spare2; 16*640235e2SEnji Cooper } pthread_mutex_t; 17*640235e2SEnji Cooper 18*640235e2SEnji Cooper 19*640235e2SEnji Cooper struct arc4random_global { 20*640235e2SEnji Cooper 21*640235e2SEnji Cooper pthread_mutex_t lock; 22*640235e2SEnji Cooper } arc4random_global = { 23*640235e2SEnji Cooper 24*640235e2SEnji Cooper .lock = { 0x33330003, 0, { 0, 0, 0 }, 0, { 0, 0, 0 }, ((void *)0), ((void *)0), 0, ((void *)0) }, 25*640235e2SEnji Cooper }; 26