tools/nolibc/std: move the standard type definitions to std.h
authorWilly Tarreau <w@1wt.eu>
Mon, 7 Feb 2022 16:23:15 +0000 (17:23 +0100)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 14 Feb 2022 18:45:23 +0000 (10:45 -0800)
commit36c72168f09b19880051058022069a96ed09db47
tree484b474e8e841050da47718c96b14f6187da4b93
parent4a74e83aa9f2f5a76cf440e2a4f325d7ca0af488
tools/nolibc/std: move the standard type definitions to std.h

The ordering of includes and definitions for now is a bit of a mess, as
for example asm/signal.h is included after int defintions, but plenty of
structures are defined later as they rely on other includes.

Let's move the standard type definitions to a dedicated file that is
included first. We also move NULL there. This way all other includes
are aware of it, and we can bring asm/signal.h back to the top of the
file.

Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/include/nolibc/nolibc.h
tools/include/nolibc/std.h [new file with mode: 0644]