From 1cd3516d5449326a9740d8a5cad99f493688e450 Mon Sep 17 00:00:00 2001 From: Matthijs Mekking Date: Wed, 7 Aug 2019 15:11:57 +0200 Subject: [PATCH] Move dnssec_keyid_max out rrsettype counters enum --- lib/dns/stats.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/dns/stats.c b/lib/dns/stats.c index ce7b6fffd6..11d30e90eb 100644 --- a/lib/dns/stats.c +++ b/lib/dns/stats.c @@ -73,10 +73,11 @@ enum { rdtypecounter_ancient_nxdomain = rdtypenxcounter_ancient_max, /* limit of number counter types */ rdatasettypecounter_max = rdtypecounter_ancient_nxdomain + 1, - /* dnssec maximum key id */ - dnssec_keyid_max = 65535 }; +/* dnssec maximum key id */ +static int dnssec_keyid_max = 65535; + struct dns_stats { unsigned int magic; dns_statstype_t type;