diff options
author | Florian Obser <florian@cvs.openbsd.org> | 2020-03-23 08:38:50 +0000 |
---|---|---|
committer | Florian Obser <florian@cvs.openbsd.org> | 2020-03-23 08:38:50 +0000 |
commit | 99795fb38f4ebcf2ef96f31345e0df5ecadc9b34 (patch) | |
tree | fd0005998a07a64c6211e2be6198f8c0febfed75 /sbin/unwind | |
parent | 09fce2f2523c917b240589e19b9157f13499a877 (diff) |
Declare lz_enter_rr_into_zone() static, it's only used in
this file. Pointed out by clang with -Wmissing-prototypes
Diffstat (limited to 'sbin/unwind')
-rw-r--r-- | sbin/unwind/libunbound/services/localzone.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |