NPTL: Remove duplicate definition of PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP

The PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP macro was defined twice with the
same values in pthread.h; this removes the second definition.
This commit is contained in:
Martin Galvan 2015-03-28 01:41:35 -03:00 committed by Mike Frysinger
parent 4d611e1261
commit 675ddb7184
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
* sysdeps/nptl/pthread.h: Remove duplicate definition of
PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
* sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and

View File

@ -92,8 +92,6 @@ enum
{ { 0, 0, 0, 0, PTHREAD_MUTEX_ERRORCHECK_NP, __PTHREAD_SPINS, { 0, 0 } } }
# define PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP \
{ { 0, 0, 0, 0, PTHREAD_MUTEX_ADAPTIVE_NP, __PTHREAD_SPINS, { 0, 0 } } }
# define PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP \
{ { 0, 0, 0, 0, PTHREAD_MUTEX_ADAPTIVE_NP, __PTHREAD_SPINS, { 0, 0 } } }
# endif
#else