From 1a81965748d742259af7c87e77da080db3329449 Mon Sep 17 00:00:00 2001 From: Florian Obser Date: Fri, 20 Mar 2020 11:53:13 +0100 Subject: [PATCH] Declare lz_enter_rr_into_zone() static, it's only used in this file. Pointed out by clang with -Wmissing-prototypes --- services/localzone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/localzone.c b/services/localzone.c index 18407832f..6aaf0c055 100644 --- a/services/localzone.c +++ b/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; -- 2.47.2