summaryrefslogtreecommitdiff
path: root/sysdeps/pthread
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-19 02:33:09 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-19 02:33:09 +0100
commitdc0f656926203b7b7c05ea226225daa8a63fcdb1 (patch)
tree577c5b6c18223905110fa40ca2da2f329e8b5943 /sysdeps/pthread
parent164f0e35665764e6d0d03213c07d3998c6538567 (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.
Diffstat (limited to 'sysdeps/pthread')
-rw-r--r--sysdeps/pthread/bits/pthreadtypes.h2
-rw-r--r--sysdeps/pthread/bits/types/struct___pthread_attr.h (renamed from sysdeps/pthread/bits/thread-attr.h)6
2 files changed, 4 insertions, 4 deletions
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 */