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_once.h (renamed from sysdeps/pthread/bits/once.h)6
2 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/pthread/bits/pthreadtypes.h b/sysdeps/pthread/bits/pthreadtypes.h
index eeb4269..55a5659 100644
--- a/sysdeps/pthread/bits/pthreadtypes.h
+++ b/sysdeps/pthread/bits/pthreadtypes.h
@@ -125,7 +125,7 @@ typedef struct __pthread_barrier pthread_barrier_t;
#include <bits/thread-specific.h>
typedef __pthread_key pthread_key_t;
-#include <bits/once.h>
+#include <bits/types/struct___pthread_once.h>
typedef struct __pthread_once pthread_once_t;
__END_DECLS
diff --git a/sysdeps/pthread/bits/once.h b/sysdeps/pthread/bits/types/struct___pthread_once.h
index 610a269..5b99658 100644
--- a/sysdeps/pthread/bits/once.h
+++ b/sysdeps/pthread/bits/types/struct___pthread_once.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_ONCE_H
-#define _BITS_ONCE_H 1
+#ifndef _BITS_TYPES_STRUCT___PTHREAD_ONCE_H
+#define _BITS_TYPES_STRUCT___PTHREAD_ONCE_H 1
#include <bits/types/__pthread_spinlock_t.h>
@@ -30,4 +30,4 @@ struct __pthread_once
#define __PTHREAD_ONCE_INIT \
(struct __pthread_once) { 0, __PTHREAD_SPIN_LOCK_INITIALIZER }
-#endif /* bits/once.h */
+#endif /* bits/types/struct___pthread_once.h */