tools/nolibc: fix return type of getpagesize()
authorThomas Weißschuh <linux@weissschuh.net>
Thu, 3 Aug 2023 07:28:46 +0000 (09:28 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 23 Aug 2023 03:17:07 +0000 (05:17 +0200)
commit640775022572380b6f78247f10c036e69d404947
treec988bcf8ad26f873cd137aa6b8d03a4cad405e7d
parentf2f5eaefa17e4c432ffd22577682c21543ee39cf
tools/nolibc: fix return type of getpagesize()

It's documented as returning int which is also implemented by glibc and
musl, so adopt that return type.

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