summaryrefslogtreecommitdiff
path: root/sysdeps/mach
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach')
-rw-r--r--sysdeps/mach/hurd/bits/mutex.h15
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 */