tools/nolibc/sys: split the syscall definitions into their own file
authorWilly Tarreau <w@1wt.eu>
Mon, 7 Feb 2022 16:23:18 +0000 (17:23 +0100)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 14 Feb 2022 18:45:24 +0000 (10:45 -0800)
commit048f1bb915b56a8837f93ab3845b12414a2cb0f4
tree9766eadc399394d6cd2d9e196bf0a2780962794e
parent2329d8c3bb555d0bc53d88cb5dc5e709803bf3db
tools/nolibc/sys: split the syscall definitions into their own file

The syscall definitions were moved to sys.h. They were arranged
in a more easily maintainable order, whereby the sys_xxx() and xxx()
functions were grouped together, which also enlights the occasional
mappings such as wait relying on wait4().

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/sys.h [new file with mode: 0644]