NLnetLabs / ldns

LDNS is a DNS library that facilitates DNS tool programming
https://nlnetlabs.nl/ldns
BSD 3-Clause "New" or "Revised" License
299 stars 99 forks source link

acx_nlnetlabs.m4: fix -Wstrict-prototypes #194

Closed thesamesam closed 1 year ago

thesamesam commented 1 year ago

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

thesamesam commented 1 year ago

ping

wtoorop commented 1 year ago

Ack! Yes very uncontroversial. Thanks!

thesamesam commented 1 year ago

Thank you!