From: Mark Andrews Date: Thu, 24 Apr 2014 03:15:40 +0000 (+1000) Subject: make days a const X-Git-Tag: v9.10.0~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78e2afc0cba2f8db48c2f1ea9edf42f7130f9dd1;p=thirdparty%2Fbind9.git make days a const (cherry picked from commit 974fb3a9c57b22c96235878b02a9e2d284e01462) --- diff --git a/lib/dns/time.c b/lib/dns/time.c index d331ca3bfe1..b3d2c2d0844 100644 --- a/lib/dns/time.c +++ b/lib/dns/time.c @@ -35,7 +35,7 @@ #include #include -static int days[12] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; +static const int days[12] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; isc_result_t dns_time64_totext(isc_int64_t t, isc_buffer_t *target) {