pthread.h: Fix rwlock initializer

This commit is contained in:
Mark Schulte
2017-04-08 12:34:08 -06:00
committed by Gregory Nutt
parent 3f51180cca
commit 35ca733108
10 changed files with 122 additions and 103 deletions
+1 -1
View File
@@ -352,7 +352,7 @@ typedef int pthread_rwlockattr_t;
#define PTHREAD_RWLOCK_INITIALIZER {PTHREAD_MUTEX_INITIALIZER, \
PTHREAD_COND_INITIALIZER, \
0, 0}
0, 0, false}
#ifdef CONFIG_PTHREAD_CLEANUP
/* This type describes the pthread cleanup callback (non-standard) */