diff options
author | dgp <dgp@noemail.net> | 2002-01-17 04:37:32 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2002-01-17 04:37:32 (GMT) |
commit | 3f36853ecfb6bbcb1991bde15129d16da8f68965 (patch) | |
tree | 62a19bfcb6159f9beaa9ffb26dcd2b680126c7c8 /generic/tclClock.c | |
parent | f0abdf9b8f9092172d08b390156f98df2f135669 (diff) | |
download | tcl-3f36853ecfb6bbcb1991bde15129d16da8f68965.zip tcl-3f36853ecfb6bbcb1991bde15129d16da8f68965.tar.gz tcl-3f36853ecfb6bbcb1991bde15129d16da8f68965.tar.bz2 |
* More TIP 27 updates in tclIOUtil.c and tclIndexObj.c that were
overlooked before. Updated callers.
***POTENTIAL INCOMPATIBILITY***
Includes a source incompatibility in the tablePtr arguments of
the Tcl_GetIndexFromObj* routines.
FossilOrigin-Name: 28b6020550dd9e62f46b824e4c2ba2a6302657f6
Diffstat (limited to 'generic/tclClock.c')
-rw-r--r-- | generic/tclClock.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclClock.c b/generic/tclClock.c index 9a99deb..f71b86f 100644 --- a/generic/tclClock.c +++ b/generic/tclClock.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclClock.c,v 1.12 2001/11/21 02:36:20 hobbs Exp $ + * RCS: @(#) $Id: tclClock.c,v 1.13 2002/01/17 04:37:33 dgp Exp $ */ #include "tcl.h" @@ -67,13 +67,13 @@ Tcl_ClockObjCmd (client, interp, objc, objv) Tcl_Obj *baseObjPtr = NULL; char *scanStr; - static char *switches[] = + static CONST char *switches[] = {"clicks", "format", "scan", "seconds", (char *) NULL}; enum command { COMMAND_CLICKS, COMMAND_FORMAT, COMMAND_SCAN, COMMAND_SECONDS }; - static char *formatSwitches[] = {"-format", "-gmt", (char *) NULL}; - static char *scanSwitches[] = {"-base", "-gmt", (char *) NULL}; + static CONST char *formatSwitches[] = {"-format", "-gmt", (char *) NULL}; + static CONST char *scanSwitches[] = {"-base", "-gmt", (char *) NULL}; resultPtr = Tcl_GetObjResult(interp); if (objc < 2) { |