diff options
author | Zack Weinberg <zackw@panix.com> | 2019-03-11 10:59:45 -0400 |
---|---|---|
committer | Zack Weinberg <zackw@panix.com> | 2019-03-13 09:42:09 -0400 |
commit | 29218b265fdbdda394f563aa70566766b125aa3a (patch) | |
tree | c6014173056661cd4fab5f7610084389c41a289a | |
parent | 711a322a235d4c8177713f11aa59156603b94aeb (diff) | |
download | glibc-29218b265fdbdda394f563aa70566766b125aa3a.zip glibc-29218b265fdbdda394f563aa70566766b125aa3a.tar.gz glibc-29218b265fdbdda394f563aa70566766b125aa3a.tar.bz2 |
Move inttypes.h and stdint.h to stdlib.
inttypes.h and stdint.h are in sysdeps/generic, but there are no other
versions of these headers anywhere in the source tree, so they aren’t
actually system-dependent. Move them to the subdirectory that
installs them (stdlib).
Reviewed-by: Joseph Myers <joseph@codesourcery.com>
* sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
Move to stdlib.
* include/inttypes.h: Adjust to match.
* include/stdint.h: New wrapper.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | include/inttypes.h | 2 | ||||
-rw-r--r-- | include/stdint.h | 1 | ||||
-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
@@ -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 33219e2..3a583c6 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 0000000..7f42874 --- /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 ddcb171..ddcb171 100644 --- a/sysdeps/generic/inttypes.h +++ b/stdlib/inttypes.h diff --git a/sysdeps/generic/stdint.h b/stdlib/stdint.h index 1ad538f..1ad538f 100644 --- a/sysdeps/generic/stdint.h +++ b/stdlib/stdint.h |