diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-23 12:30:28 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-23 12:30:28 (GMT) |
commit | 6f14ff020a548ab6adcb30836c498ab0fe921970 (patch) | |
tree | 36a35c68a8d8f61e3b2e51e236b86513e4138025 /win/tclWinTime.c | |
parent | bb146c387f42e478b1d8ffbc8617988fb572587c (diff) | |
download | tcl-6f14ff020a548ab6adcb30836c498ab0fe921970.zip tcl-6f14ff020a548ab6adcb30836c498ab0fe921970.tar.gz tcl-6f14ff020a548ab6adcb30836c498ab0fe921970.tar.bz2 |
make some more internal tables const
On cygwin, install dll's in /usr/bin, not in /usr/lib
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 dd5699e..8bbd8fd 100644 --- a/win/tclWinTime.c +++ b/win/tclWinTime.c @@ -26,11 +26,11 @@ * each 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 }; @@ -668,7 +668,7 @@ ComputeGMT(tp) struct tm *tmPtr; long tmp, rem; int isLeap; - int *days; + const int *days; ThreadSpecificData *tsdPtr = TCL_TSD_INIT(&dataKey); tmPtr = &tsdPtr->tm; |