]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Declare lz_enter_rr_into_zone() static, it's only used in this file. 198/head
authorFlorian Obser <florian@narrans.de>
Fri, 20 Mar 2020 10:53:13 +0000 (11:53 +0100)
committerFlorian Obser <florian@narrans.de>
Fri, 20 Mar 2020 10:53:13 +0000 (11:53 +0100)
Pointed out by clang with -Wmissing-prototypes

services/localzone.c

index 18407832ff41999f7f71a778474343b401193fd2..6aaf0c05518cb357fd46446ff5eec9c33b29f898 100644 (file)
@@ -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;