Fix -Wimplicit-function-declaration
commit2803e69dcc7cac9b470360c984b62198a3774882
authorSam James <sam@gentoo.org>
Wed, 19 Oct 2022 01:21:00 +0000 (19 02:21 +0100)
committerSam James <sam@gentoo.org>
Sun, 6 Nov 2022 06:22:44 +0000 (6 06:22 +0000)
treeb6a9bedeb7417daebe1b647ad28397fc5ba3e568
parent9bf86883102603ec0784267d0a6401317647330a
Fix -Wimplicit-function-declaration

Clang 16 will make -Wimplicit-function-declaration error by default.

For more information, see LWN.net [0] or LLVM's Discourse [1], gentoo-dev@ [2],
or the (new) c-std-porting mailing list [3].

[0] https://lwn.net/Articles/913505/
[1] https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213
[2] https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240
[3] hosted at lists.linux.dev.

Bug: https://bugs.gentoo.org/875527
Signed-off-by: Sam James <sam@gentoo.org>
pb_add.c
pb_clear.c
pb_grow.c
pb_init.c
pb_init_size.c
pb_shrink.c
pb_sub.c
tompoly.h