aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Galvan <martin.galvan@tallertechnologies.com>2015-03-28 01:41:35 -0300
committerMike Frysinger <vapier@gentoo.org>2015-03-28 01:50:12 -0400
commit675ddb7184f642263331b13ac7bf726536504f97 (patch)
tree7b671cd56192937d233aa28bd900f93000fa6b7f
parent4d611e1261961bb9460faf21418845918ad270fd (diff)
downloadglibc-675ddb7184f642263331b13ac7bf726536504f97.tar
glibc-675ddb7184f642263331b13ac7bf726536504f97.tar.gz
glibc-675ddb7184f642263331b13ac7bf726536504f97.tar.bz2
glibc-675ddb7184f642263331b13ac7bf726536504f97.zip
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.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/nptl/pthread.h2
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 70a4657c55..d08a60a824 100644
--- 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
diff --git a/sysdeps/nptl/pthread.h b/sysdeps/nptl/pthread.h
index 70ff250a17..89d08823f5 100644
--- a/sysdeps/nptl/pthread.h
+++ b/sysdeps/nptl/pthread.h
@@ -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