From: Florian Obser Date: Tue, 5 Sep 2023 15:35:30 +0000 (+0200) Subject: Prevent warnings from -Wmissing-prototypes. X-Git-Tag: release-1.19.0rc1~57^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F931%2Fhead;p=thirdparty%2Funbound.git Prevent warnings from -Wmissing-prototypes. --- diff --git a/util/rfc_1982.c b/util/rfc_1982.c index c28deded6..cf64e21d0 100644 --- a/util/rfc_1982.c +++ b/util/rfc_1982.c @@ -39,6 +39,7 @@ * This file contains functions for RFC 1982 serial number arithmetic. */ #include "config.h" +#include "util/rfc_1982.h" int compare_1982(uint32_t a, uint32_t b) diff --git a/util/siphash.c b/util/siphash.c index 0e1b597d0..32797dff6 100644 --- a/util/siphash.c +++ b/util/siphash.c @@ -26,6 +26,11 @@ */ #include "config.h" +/** EDIT + * prevent warning from -Wmissing-prototypes + */ +#include "util/siphash.h" + /* default: SipHash-2-4 */ #define cROUNDS 2 #define dROUNDS 4