From 2cd7c719ef629e6548081bd381ba5dc12e133568 Mon Sep 17 00:00:00 2001 From: Florian Obser Date: Tue, 5 Sep 2023 17:35:30 +0200 Subject: [PATCH] Prevent warnings from -Wmissing-prototypes. --- util/rfc_1982.c | 1 + util/siphash.c | 5 +++++ 2 files changed, 6 insertions(+) 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 -- 2.47.2