mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 05:42:05 +08:00
pthread.h: Remove duplicate, possible erroneous definitino of PTHREAD_MUTEX_INITIALIZER that crept in with some recent changes.
This commit is contained in:
@@ -354,10 +354,6 @@ typedef int pthread_rwlockattr_t;
|
||||
PTHREAD_COND_INITIALIZER, \
|
||||
0, 0}
|
||||
|
||||
#define PTHREAD_MUTEX_INITIALIZER {NULL, SEM_INITIALIZER(1), -1, \
|
||||
__PTHREAD_MUTEX_DEFAULT_FLAGS, \
|
||||
PTHREAD_MUTEX_DEFAULT, 0}
|
||||
|
||||
#ifdef CONFIG_PTHREAD_CLEANUP
|
||||
/* This type describes the pthread cleanup callback (non-standard) */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user