public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Move bits/types.h into posix/bits.
@ 2017-02-16 14:51 Zack Weinberg
  0 siblings, 0 replies; only message in thread
From: Zack Weinberg @ 2017-02-16 14:51 UTC (permalink / raw)
  To: libc-alpha

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-02-16 14:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-16 14:51 [PATCH] Move bits/types.h into posix/bits Zack Weinberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).