From 99795fb38f4ebcf2ef96f31345e0df5ecadc9b34 Mon Sep 17 00:00:00 2001 From: Florian Obser Date: Mon, 23 Mar 2020 08:38:50 +0000 Subject: Declare lz_enter_rr_into_zone() static, it's only used in this file. Pointed out by clang with -Wmissing-prototypes --- sbin/unwind/libunbound/services/localzone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sbin/unwind') diff --git a/sbin/unwind/libunbound/services/localzone.c b/sbin/unwind/libunbound/services/localzone.c index 18407832ff4..6aaf0c05518 100644 --- a/sbin/unwind/libunbound/services/localzone.c +++ b/sbin/unwind/libunbound/services/localzone.c @@ -518,7 +518,7 @@ local_zone_enter_rr(struct local_zone* z, uint8_t* nm, size_t nmlen, } /** enter data RR into auth zone */ -int +static int lz_enter_rr_into_zone(struct local_zone* z, const char* rrstr) { uint8_t* nm; -- cgit v1.2.3