diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-03-18 19:15:32 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-03-18 19:15:32 +0100 |
commit | 12d1a7cf6b0f94139a5e274d06cabbf725238522 (patch) | |
tree | c3050d351db24914e2436c5b11108542cb286930 /sysdeps/mach | |
parent | 1f04c9e131d45afaed640c1ede5cdb0bab62ada4 (diff) |
Remove __need_pthread_mutex / __pthread_mutex_defined
We do not actually use them.
* sysdeps/mach/hurd/bits/mutex.h: Always include content.
* sysdeps/pthread/bits/mutex.h: Always include content.
Diffstat (limited to 'sysdeps/mach')
-rw-r--r-- | sysdeps/mach/hurd/bits/mutex.h | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/sysdeps/mach/hurd/bits/mutex.h b/sysdeps/mach/hurd/bits/mutex.h index 4a2dda3..2d5625b 100644 --- a/sysdeps/mach/hurd/bits/mutex.h +++ b/sysdeps/mach/hurd/bits/mutex.h @@ -17,17 +17,9 @@ not, see <http://www.gnu.org/licenses/>. */ #ifndef _BITS_MUTEX_H +#define _BITS_MUTEX_H 1 -#ifndef __need_pthread_mutex -# define _BITS_MUTEX_H 1 -#endif - -#ifndef __pthread_mutex_defined -# if defined __need_pthread_mutex || defined _BITS_MUTEX_H -# undef __need_pthread_mutex -# define __pthread_mutex_defined - -# include <bits/mutex-attr.h> +#include <bits/mutex-attr.h> /* User visible part of a mutex. */ struct __pthread_mutex @@ -54,7 +46,4 @@ struct __pthread_mutex #define __PTHREAD_RECURSIVE_MUTEX_INITIALIZER \ { 0, 0, 0, 0, __PTHREAD_MUTEX_RECURSIVE + 1, 0, 0, 0 } -# endif -#endif /* Not __pthread_mutex_defined. */ - #endif /* bits/mutex.h */ |