tools/nolibc: add stdint.h
authorVincent Dagonneau <v@vda.io>
Sat, 4 Mar 2023 14:26:03 +0000 (15:26 +0100)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 20 Mar 2023 15:45:21 +0000 (08:45 -0700)
commitc34da317e0466815d7f43cbd81b3380a11a45b52
tree5239cbd881998dd60786699498bc0b09e39e59e1
parentd548e9ae07162e2904b72345a60a9e3e7df4709e
tools/nolibc: add stdint.h

Nolibc works fine for small and limited program however most program
expect integer types to be defined in stdint.h rather than std.h.

This is a quick fix that moves the existing integer definitions in std.h
to stdint.h.

Signed-off-by: Vincent Dagonneau <v@vda.io>
Reviewed-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/include/nolibc/Makefile
tools/include/nolibc/std.h
tools/include/nolibc/stdint.h [new file with mode: 0644]