]> www.infradead.org Git - linux.git/commit
selftests/nolibc: make functions static if possible
authorThomas Weißschuh <linux@weissschuh.net>
Thu, 3 Aug 2023 07:28:52 +0000 (09:28 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 23 Aug 2023 03:17:07 +0000 (05:17 +0200)
commit17e66f235e4ab43423741dcb946a4d140d8ba34b
tree50db1eee615de5261182160c35dcd148e70e2dde
parent10874f20ee8752b04cac22f2a711394c7060b913
selftests/nolibc: make functions static if possible

This allows the compiler to generate warnings if they go unused.

Functions that are supposed to be used as breakpoints should not be
static, so un-statify those if necessary.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Willy Tarreau <w@1wt.eu>
tools/testing/selftests/nolibc/nolibc-test.c