Skip to content

Commit

Permalink
NPTL: Remove duplicate definition of PTHREAD_ADAPTIVE_MUTEX_INITIALIZ…
Browse files Browse the repository at this point in the history
…ER_NP

The PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP macro was defined twice with the
same values in pthread.h; this removes the second definition.
  • Loading branch information
Martin Galvan authored and Mike Frysinger committed Mar 28, 2015
1 parent 4d611e1 commit 675ddb7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 0 additions & 2 deletions sysdeps/nptl/pthread.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 675ddb7

Please sign in to comment.