From: florian Date: Tue, 5 Sep 2023 15:45:51 +0000 (+0000) Subject: Prevent warnings from -Wmissing-prototypes X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=911a1a621ef1d3569d27fafbb7ae85d0ed654468;p=openbsd Prevent warnings from -Wmissing-prototypes https://github.com/NLnetLabs/unbound/pull/931 --- 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