about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--include/inttypes.h2
-rw-r--r--include/stdint.h1
-rw-r--r--stdlib/inttypes.h (renamed from sysdeps/generic/inttypes.h)0
-rw-r--r--stdlib/stdint.h (renamed from sysdeps/generic/stdint.h)0
5 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9ff1949f8a..d616178156 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2019-03-13  Zack Weinberg  <zackw@panix.com>
 
+	* sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
+	Move to stdlib.
+	* include/inttypes.h: Adjust to match.
+	* include/stdint.h: New wrapper.
+
+2019-03-13  Zack Weinberg  <zackw@panix.com>
+
 	* scripts/check-obsolete-constructs.py: New test script.
 	* scripts/check-installed-headers.sh: Remove tests for
 	obsolete typedefs, superseded by check-obsolete-constructs.py.
diff --git a/include/inttypes.h b/include/inttypes.h
index 33219e2a9f..3a583c6c07 100644
--- a/include/inttypes.h
+++ b/include/inttypes.h
@@ -1,5 +1,5 @@
 #ifndef _INTTYPES_H
-#include_next <inttypes.h>
+#include <stdlib/inttypes.h>
 #ifndef _ISOMAC
 libc_hidden_proto (strtoumax)
 #endif
diff --git a/include/stdint.h b/include/stdint.h
new file mode 100644
index 0000000000..7f428741d7
--- /dev/null
+++ b/include/stdint.h
@@ -0,0 +1 @@
+#include <stdlib/stdint.h>
diff --git a/sysdeps/generic/inttypes.h b/stdlib/inttypes.h
index ddcb171b09..ddcb171b09 100644
--- a/sysdeps/generic/inttypes.h
+++ b/stdlib/inttypes.h
diff --git a/sysdeps/generic/stdint.h b/stdlib/stdint.h
index 1ad538fc48..1ad538fc48 100644
--- a/sysdeps/generic/stdint.h
+++ b/stdlib/stdint.h