Move bits/types.h into posix/bits.

Message ID 20170216145108.D173514B9D@panix1.panix.com
State Superseded
Headers

Commit Message

Zack Weinberg Feb. 16, 2017, 2:50 p.m. UTC
  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%)
  

Patch

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