From 911a1a621ef1d3569d27fafbb7ae85d0ed654468 Mon Sep 17 00:00:00 2001 From: florian Date: Tue, 5 Sep 2023 15:45:51 +0000 Subject: [PATCH] Prevent warnings from -Wmissing-prototypes https://github.com/NLnetLabs/unbound/pull/931 --- sbin/unwind/libunbound/util/rfc_1982.c | 1 + sbin/unwind/libunbound/util/siphash.c | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/sbin/unwind/libunbound/util/rfc_1982.c b/sbin/unwind/libunbound/util/rfc_1982.c index c28deded606..cf64e21d08f 100644 --- a/sbin/unwind/libunbound/util/rfc_1982.c +++ b/sbin/unwind/libunbound/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/sbin/unwind/libunbound/util/siphash.c b/sbin/unwind/libunbound/util/siphash.c index 0e1b597d052..32797dff60e 100644 --- a/sbin/unwind/libunbound/util/siphash.c +++ b/sbin/unwind/libunbound/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 -- 2.20.1