diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-03-19 02:33:09 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-03-19 02:33:09 +0100 |
commit | dc0f656926203b7b7c05ea226225daa8a63fcdb1 (patch) | |
tree | 577c5b6c18223905110fa40ca2da2f329e8b5943 | |
parent | 164f0e35665764e6d0d03213c07d3998c6538567 (diff) |
Move bits/thread-attr.h to bits/types/struct___pthread_attr.h
* sysdeps/pthread/bits/thread-attr.h: Move file to...
* sysdeps/pthread/bits/types/struct___pthread_attr.h: ... here.
* Makefile (headers): Update accordingly.
* sysdeps/generic/pthread.h: Likewise.
* sysdeps/pthread/bits/pthreadtypes.h: Likewise.
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | sysdeps/generic/pthread.h | 2 | ||||
-rw-r--r-- | sysdeps/pthread/bits/pthreadtypes.h | 2 | ||||
-rw-r--r-- | sysdeps/pthread/bits/types/struct___pthread_attr.h (renamed from sysdeps/pthread/bits/thread-attr.h) | 6 |
4 files changed, 6 insertions, 6 deletions
@@ -154,7 +154,7 @@ headers := \ bits/types/__pthread_spinlock_t.h \ bits/spin-lock-inline.h \ bits/cancelation.h \ - bits/thread-attr.h \ + bits/types/struct___pthread_attr.h \ bits/types/struct___pthread_barrierattr.h \ bits/types/struct___pthread_barrier.h \ bits/thread-specific.h \ diff --git a/sysdeps/generic/pthread.h b/sysdeps/generic/pthread.h index 416aed2..e09b8d9 100644 --- a/sysdeps/generic/pthread.h +++ b/sysdeps/generic/pthread.h @@ -73,7 +73,7 @@ __BEGIN_DECLS #define PTHREAD_CREATE_JOINABLE __PTHREAD_CREATE_JOINABLE #define PTHREAD_CREATE_DETACHED __PTHREAD_CREATE_DETACHED -#include <bits/thread-attr.h> +#include <bits/types/struct___pthread_attr.h> /* Initialize the thread attribute object in *ATTR to the default values. */ diff --git a/sysdeps/pthread/bits/pthreadtypes.h b/sysdeps/pthread/bits/pthreadtypes.h index 1ff4996..fc5bc5b 100644 --- a/sysdeps/pthread/bits/pthreadtypes.h +++ b/sysdeps/pthread/bits/pthreadtypes.h @@ -62,7 +62,7 @@ enum __pthread_detachstate __PTHREAD_CREATE_DETACHED }; -#include <bits/thread-attr.h> +#include <bits/types/struct___pthread_attr.h> typedef struct __pthread_attr pthread_attr_t; enum __pthread_mutex_protocol diff --git a/sysdeps/pthread/bits/thread-attr.h b/sysdeps/pthread/bits/types/struct___pthread_attr.h index 3b1591f..44f9543 100644 --- a/sysdeps/pthread/bits/thread-attr.h +++ b/sysdeps/pthread/bits/types/struct___pthread_attr.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_THREAD_ATTR_H -#define _BITS_THREAD_ATTR_H 1 +#ifndef _BITS_TYPES_STRUCT___PTHREAD_ATTR +#define _BITS_TYPES_STRUCT___PTHREAD_ATTR 1 #include <sched.h> @@ -42,4 +42,4 @@ struct __pthread_attr int __schedpolicy; }; -#endif /* bits/thread-attr.h */ +#endif /* bits/types/struct___pthread_attr.h */ |