diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-03-19 02:35:05 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-03-19 02:35:05 +0100 |
commit | 3931478319b31d4d28940076ec39475bb4d1018d (patch) | |
tree | 891f7cd6a1ec225c3345bfa7cecad2474e62e55e /sysdeps/pthread/bits | |
parent | dc0f656926203b7b7c05ea226225daa8a63fcdb1 (diff) |
Move bits/thread-specific.h to bits/types/__pthread_key.h
* sysdeps/pthread/bits/thread-specific.h: Move file to...
* sysdeps/pthread/bits/types/__pthread_key.h: ... here.
* Makefile (headers): Update accordingly.
* sysdeps/generic/pthread.h: Likewise.
* sysdeps/pthread/bits/pthreadtypes.h: Likewise.
Diffstat (limited to 'sysdeps/pthread/bits')
-rw-r--r-- | sysdeps/pthread/bits/pthreadtypes.h | 2 | ||||
-rw-r--r-- | sysdeps/pthread/bits/types/__pthread_key.h (renamed from sysdeps/pthread/bits/thread-specific.h) | 6 |
2 files changed, 4 insertions, 4 deletions
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 */ |