summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--sysdeps/generic/pthread.h2
-rw-r--r--sysdeps/pthread/bits/pthreadtypes.h2
-rw-r--r--sysdeps/pthread/bits/types/__pthread_key.h (renamed from sysdeps/pthread/bits/thread-specific.h)6
4 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 70a2df0..2251ea6 100644
--- a/Makefile
+++ b/Makefile
@@ -157,7 +157,7 @@ headers := \
bits/types/struct___pthread_attr.h \
bits/types/struct___pthread_barrierattr.h \
bits/types/struct___pthread_barrier.h \
- bits/thread-specific.h \
+ bits/types/__pthread_key.h \
bits/types/struct___pthread_once.h \
bits/types/struct___pthread_mutexattr.h \
bits/types/struct___pthread_rwlock.h \
diff --git a/sysdeps/generic/pthread.h b/sysdeps/generic/pthread.h
index e09b8d9..13c5693 100644
--- a/sysdeps/generic/pthread.h
+++ b/sysdeps/generic/pthread.h
@@ -776,7 +776,7 @@ extern int pthread_barrier_wait (pthread_barrier_t *__barrier)
/* Thread specific data. */
-#include <bits/thread-specific.h>
+#include <bits/types/__pthread_key.h>
/* Create a thread specific data key in KEY visible to all threads.
On thread destruction, DESTRUCTOR shall be called with the thread
diff --git a/sysdeps/pthread/bits/pthreadtypes.h b/sysdeps/pthread/bits/pthreadtypes.h
index fc5bc5b..3e42f50 100644
--- a/sysdeps/pthread/bits/pthreadtypes.h
+++ b/sysdeps/pthread/bits/pthreadtypes.h
@@ -122,7 +122,7 @@ typedef struct __pthread_barrier pthread_barrier_t;
#endif /* __USE_XOPEN2K */
-#include <bits/thread-specific.h>
+#include <bits/types/__pthread_key.h>
typedef __pthread_key pthread_key_t;
#include <bits/types/struct___pthread_once.h>
diff --git a/sysdeps/pthread/bits/thread-specific.h b/sysdeps/pthread/bits/types/__pthread_key.h
index f0435f6..c558f47 100644
--- a/sysdeps/pthread/bits/thread-specific.h
+++ b/sysdeps/pthread/bits/types/__pthread_key.h
@@ -16,9 +16,9 @@
License along with the GNU C Library; see the file COPYING.LIB. If
not, see <http://www.gnu.org/licenses/>. */
-#ifndef _BITS_THREAD_SPECIFIC_H
-#define _BITS_THREAD_SPECIFIC_H 1
+#ifndef _BITS_TYPES___PTHREAD_KEY_H
+#define _BITS_TYPES___PTHREAD_KEY_H 1
typedef int __pthread_key;
-#endif /* bits/thread-specific.h */
+#endif /* bits/types/__pthread_key.h */