Prevent warnings from -Wmissing-prototypes
authorflorian <florian@openbsd.org>
Tue, 5 Sep 2023 15:45:51 +0000 (15:45 +0000)
committerflorian <florian@openbsd.org>
Tue, 5 Sep 2023 15:45:51 +0000 (15:45 +0000)
https://github.com/NLnetLabs/unbound/pull/931

sbin/unwind/libunbound/util/rfc_1982.c
sbin/unwind/libunbound/util/siphash.c

index c28dede..cf64e21 100644 (file)
@@ -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)
index 0e1b597..32797df 100644 (file)
  */
 #include "config.h"
 
+/** EDIT
+  * prevent warning from -Wmissing-prototypes
+  */
+#include "util/siphash.h"
+
 /* default: SipHash-2-4 */
 #define cROUNDS 2
 #define dROUNDS 4