mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
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.
This commit is contained in:
parent
711a322a23
commit
29218b265f
@ -1,3 +1,10 @@
|
|||||||
|
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>
|
2019-03-13 Zack Weinberg <zackw@panix.com>
|
||||||
|
|
||||||
* scripts/check-obsolete-constructs.py: New test script.
|
* scripts/check-obsolete-constructs.py: New test script.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#ifndef _INTTYPES_H
|
#ifndef _INTTYPES_H
|
||||||
#include_next <inttypes.h>
|
#include <stdlib/inttypes.h>
|
||||||
#ifndef _ISOMAC
|
#ifndef _ISOMAC
|
||||||
libc_hidden_proto (strtoumax)
|
libc_hidden_proto (strtoumax)
|
||||||
#endif
|
#endif
|
||||||
|
1
include/stdint.h
Normal file
1
include/stdint.h
Normal file
@ -0,0 +1 @@
|
|||||||
|
#include <stdlib/stdint.h>
|
Loading…
Reference in New Issue
Block a user