From: Ezra Peisach Date: Sun, 17 Aug 1997 18:33:09 +0000 (+0000) Subject: * gmt_mktime.c (days_in_month): Now const. X-Git-Tag: krb5-1.1-beta1~1046 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8815ce65bdaf07f068cc1c4ef84938f0eb62f071;p=krb5.git * gmt_mktime.c (days_in_month): Now const. Originally by raeburn@cygnus.com from the Kerbnet release git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10179 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index c2c6e115c..e860e4a8d 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,3 +1,8 @@ +Sat Aug 16 10:11:20 1997 Ezra Peisach + + * gmt_mktime.c (days_in_month): Now const. + Originally by raeburn@cygnus.com from the Kerbnet release + Tue Feb 25 00:29:33 1997 Richard Basch * read_pwd.c: Define Windows interface for krb5_read_password diff --git a/src/lib/krb5/os/gmt_mktime.c b/src/lib/krb5/os/gmt_mktime.c index a7051ff06..1cb5c2668 100644 --- a/src/lib/krb5/os/gmt_mktime.c +++ b/src/lib/krb5/os/gmt_mktime.c @@ -18,7 +18,7 @@ /* like mktime, this ignores tm_wday and tm_yday. */ /* unlike mktime, this does not set them... it only passes a return value. */ -static days_in_month[12] = { +static const days_in_month[12] = { 0, /* jan 31 */ 31, /* feb 28 */ 59, /* mar 31 */