From 974fb3a9c57b22c96235878b02a9e2d284e01462 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 24 Apr 2014 13:15:40 +1000 Subject: [PATCH] make days a const --- lib/dns/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dns/time.c b/lib/dns/time.c index d331ca3bfe..b3d2c2d084 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) {