summaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/pthread.h2
-rw-r--r--sysdeps/pthread/bits/pthreadtypes.h2
-rw-r--r--sysdeps/pthread/bits/types/struct___pthread_rwlock.h (renamed from sysdeps/pthread/bits/rwlock.h)6
3 files changed, 5 insertions, 5 deletions
diff --git a/sysdeps/generic/pthread.h b/sysdeps/generic/pthread.h
index 56e2c43..416aed2 100644
--- a/sysdeps/generic/pthread.h
+++ b/sysdeps/generic/pthread.h
@@ -628,7 +628,7 @@ extern int pthread_rwlockattr_setkind_np (pthread_rwlockattr_t *__attr,
/* rwlocks. */
-#include <bits/rwlock.h>
+#include <bits/types/struct___pthread_rwlock.h>
#define PTHREAD_RWLOCK_INITIALIZER __PTHREAD_RWLOCK_INITIALIZER
/* Create a rwlock object with attributes given by ATTR and strore the
diff --git a/sysdeps/pthread/bits/pthreadtypes.h b/sysdeps/pthread/bits/pthreadtypes.h
index c74face..1ff4996 100644
--- a/sysdeps/pthread/bits/pthreadtypes.h
+++ b/sysdeps/pthread/bits/pthreadtypes.h
@@ -107,7 +107,7 @@ typedef __pthread_spinlock_t pthread_spinlock_t;
#include <bits/types/struct___pthread_rwlockattr.h>
typedef struct __pthread_rwlockattr pthread_rwlockattr_t;
-#include <bits/rwlock.h>
+#include <bits/types/struct___pthread_rwlock.h>
typedef struct __pthread_rwlock pthread_rwlock_t;
#endif /* __USE_UNIX98 || __USE_XOPEN2K */
diff --git a/sysdeps/pthread/bits/rwlock.h b/sysdeps/pthread/bits/types/struct___pthread_rwlock.h
index 8fee357..3459e48 100644
--- a/sysdeps/pthread/bits/rwlock.h
+++ b/sysdeps/pthread/bits/types/struct___pthread_rwlock.h
@@ -16,8 +16,8 @@
License along with the GNU C Library; see the file COPYING.LIB. If
not, see <http://www.gnu.org/licenses/>. */
-#ifndef _BITS_RWLOCK_H
-#define _BITS_RWLOCK_H
+#ifndef _BITS_TYPES_STRUCT___PTHREAD_RWLOCK_H
+#define _BITS_TYPES_STRUCT___PTHREAD_RWLOCK_H
#include <bits/types/__pthread_spinlock_t.h>
@@ -42,4 +42,4 @@ struct __pthread_rwlock
{ __PTHREAD_SPIN_LOCK_INITIALIZER, __PTHREAD_SPIN_LOCK_INITIALIZER, 0, 0, 0, 0, 0 }
-#endif /* bits/rwlock.h */
+#endif /* bits/types/struct___pthread_rwlock.h */