diff options
author | dgp <dgp@users.sourceforge.net> | 2012-05-24 16:50:40 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2012-05-24 16:50:40 (GMT) |
commit | 145ea8bbc6e1d499365d3e7ea81386aef956e32b (patch) | |
tree | 4251a9956293cba5d933f821e66ea739b15f7dca /win/tclWinTime.c | |
parent | e451e666af76a6917a4c5c054b87c4c6f39d9484 (diff) | |
parent | 68d4dd76ebfda8029af039e6f6fd403ca851ce21 (diff) | |
download | tcl-145ea8bbc6e1d499365d3e7ea81386aef956e32b.zip tcl-145ea8bbc6e1d499365d3e7ea81386aef956e32b.tar.gz tcl-145ea8bbc6e1d499365d3e7ea81386aef956e32b.tar.bz2 |
merge 8.5
Diffstat (limited to 'win/tclWinTime.c')
-rw-r--r-- | win/tclWinTime.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tclWinTime.c b/win/tclWinTime.c index 3ae108b..f34884a 100644 --- a/win/tclWinTime.c +++ b/win/tclWinTime.c @@ -27,11 +27,11 @@ * month, where index 1 is January. */ -static int normalDays[] = { +static const int normalDays[] = { -1, 30, 58, 89, 119, 150, 180, 211, 242, 272, 303, 333, 364 }; -static int leapDays[] = { +static const int leapDays[] = { -1, 30, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365 }; @@ -734,7 +734,7 @@ ComputeGMT( struct tm *tmPtr; long tmp, rem; int isLeap; - int *days; + const int *days; ThreadSpecificData *tsdPtr = TCL_TSD_INIT(&dataKey); tmPtr = &tsdPtr->tm; |