summaryrefslogtreecommitdiff
path: root/sysdeps/pthread/bits
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/pthread/bits')
-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
2 files changed, 4 insertions, 4 deletions
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 */