From: Matthijs Mekking Date: Wed, 7 Aug 2019 13:11:57 +0000 (+0200) Subject: Move dnssec_keyid_max out rrsettype counters enum X-Git-Tag: v9.15.3~1^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1cd3516d5449326a9740d8a5cad99f493688e450;p=thirdparty%2Fbind9.git Move dnssec_keyid_max out rrsettype counters enum --- diff --git a/lib/dns/stats.c b/lib/dns/stats.c index ce7b6fffd6c..11d30e90eb8 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;