This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Move bits/types.h into posix/bits.


bits/types.h has no sysdeps variants, so it should be in the
subdirectory that installs it (namely, posix).  I imagine this file
did once have sysdeps variants, before the advent of bits/typesizes.h.

Tested on x86-64-linux, committed as obvious.

zw

	* bits/types.h: Move to posix/bits.
	* include/bits/types.h: New wrapper.
---
 ChangeLog                    | 5 +++++
 include/bits/types.h         | 1 +
 {bits => posix/bits}/types.h | 0
 3 files changed, 6 insertions(+)
 create mode 100644 include/bits/types.h
 rename {bits => posix/bits}/types.h (100%)

diff --git a/ChangeLog b/ChangeLog
index 3bc23fef90..d25710c68e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-02-16  Zack Weinberg  <zackw@panix.com>
+
+	* bits/types.h: Move to posix/bits.
+	* include/bits/types.h: New wrapper.
+
 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
 
 	* string/bits/string2.h (strcmp): Remove define.
diff --git a/include/bits/types.h b/include/bits/types.h
new file mode 100644
index 0000000000..1c47910607
--- /dev/null
+++ b/include/bits/types.h
@@ -0,0 +1 @@
+#include <posix/bits/types.h>
diff --git a/bits/types.h b/posix/bits/types.h
similarity index 100%
rename from bits/types.h
rename to posix/bits/types.h
-- 
2.11.0


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]