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>
Thu, 24 Feb 2022 17:56:44 +0000 (09:56 -0800)
commit3bec3b0b63d9781b070689af3bdccb2485673a35
tree80d733d0065084a9f7cee7ef54341deff2b2e419
parent03d4945fe91bf3da09e58ae9751c4fc6022b2a65
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]