tools/nolibc: avoid unused parameter warnings for ENOSYS fallbacks
authorThomas Weißschuh <linux@weissschuh.net>
Sun, 17 Sep 2023 15:36:17 +0000 (17:36 +0200)
committerThomas Weißschuh <linux@weissschuh.net>
Thu, 12 Oct 2023 19:14:10 +0000 (21:14 +0200)
commit535b70c143dcca0e236c35cc32fac17a18697764
treec41743c5bb5de24df0de1ac5563d5f355b73231c
parent9531548675300e313b4e852d90095449c2368fbe
tools/nolibc: avoid unused parameter warnings for ENOSYS fallbacks

The ENOSYS fallback code does not use its functions parameters.
This can lead to compiler warnings about unused parameters.

Explicitly avoid these warnings.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Willy Tarreau <w@1wt.eu>
Link: https://lore.kernel.org/r/20230917-nolibc-syscall-nr-v2-2-03863d509b9a@weissschuh.net
tools/include/nolibc/sys.h