]> git.ipfire.org Git - thirdparty/ldns.git/commit
acx_nlnetlabs.m4: fix -Wstrict-prototypes 194/head
authorSam James <sam@gentoo.org>
Sat, 19 Nov 2022 01:31:57 +0000 (01:31 +0000)
committerSam James <sam@gentoo.org>
Sat, 19 Nov 2022 01:31:57 +0000 (01:31 +0000)
commit59af7359ed744327aaf0deb2e6ac90fe9e191ba6
tree7e11744907ab82302f34d5db28eda0f45f0f6f90
parent837c90a8e3603dfa3d30311309d1f69c82c6b111
acx_nlnetlabs.m4: fix -Wstrict-prototypes

Fix -Wstrict-prototypes as it's easy to do and avoids future warnings. Noticed
when doing Clang 16 / GCC 14 / C23 work.

For more information, see LWN.net [0] or LLVM's Discourse [1], the Gentoo wiki [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://wiki.gentoo.org/wiki/Modern_C_porting
[3] hosted at lists.linux.dev.

Signed-off-by: Sam James <sam@gentoo.org>
acx_nlnetlabs.m4