[PATCH] NPTL: Remove duplicate definition of PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
Martin Galvan
martin.galvan@tallertechnologies.com
Sat Mar 28 04:41:00 GMT 2015
The PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP macro was defined twice with the same values in pthread.h; this removes the second definition.
I don't have a copyright assignment yet, but since this is a minor change I don't think it's necessary.
ChangeLog:
2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
* sysdeps/nptl/pthread.h: Removed duplicate definition of
PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
---
sysdeps/nptl/pthread.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/sysdeps/nptl/pthread.h b/sysdeps/nptl/pthread.h
index 70ff250..89d0882 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
--
2.3.4
More information about the Libc-alpha
mailing list