]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
NPTL: Remove duplicate definition of PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP
authorMartin Galvan <martin.galvan@tallertechnologies.com>
Sat, 28 Mar 2015 04:41:35 +0000 (01:41 -0300)
committerMike Frysinger <vapier@gentoo.org>
Sat, 28 Mar 2015 05:50:12 +0000 (01:50 -0400)
The PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP macro was defined twice with the
same values in pthread.h; this removes the second definition.

ChangeLog
sysdeps/nptl/pthread.h

index 70a4657c556230feff954efc3a636c694fe3cae2..d08a60a82401cd344cb2ccf21fdecc904180c6a4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 70ff250a17045fa4bfee55faa1f660148d412894..89d08823f54305b78ab71a05b9e9fdc910766422 100644 (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