tools/nolibc/types: split syscall-specific definitions into their own files
authorWilly Tarreau <w@1wt.eu>
Mon, 7 Feb 2022 16:23:16 +0000 (17:23 +0100)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 14 Feb 2022 18:45:23 +0000 (10:45 -0800)
commit86238ff3a71daf09cffd48660a315b400dc0df08
treeb358f38cde4b338a3ef310c19044499e5f7b0dec
parent36c72168f09b19880051058022069a96ed09db47
tools/nolibc/types: split syscall-specific definitions into their own files

The macros and type definitions used by a number of syscalls were moved
to types.h where they will be easier to maintain. A few of them
are arch-specific and must not be moved there (e.g. O_*, sys_stat_struct).
A warning about them was placed at 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/types.h [new file with mode: 0644]