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, 21 Apr 2022 00:05:43 +0000 (17:05 -0700)
commitcc7a492ad0a076dff5cb4281b1516676d7924fcf
tree8b3878848b62f8cdb788e6974afc52ff6ad91a63
parent967cce191f50090d5cbd3841ee2bbb7835afeae2
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]