diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-23 13:17:12 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-23 13:17:12 (GMT) |
commit | ab4c7318fd564b0196bd38b6573eb84c9d51e2d1 (patch) | |
tree | 3326a12bac5c8ff056623f23c433b10d6d915585 /generic/tclIOCmd.c | |
parent | 75d9b50fe87d98b7e6ef6058d0e39cd0c46e8c66 (diff) | |
parent | 6f14ff020a548ab6adcb30836c498ab0fe921970 (diff) | |
download | tcl-ab4c7318fd564b0196bd38b6573eb84c9d51e2d1.zip tcl-ab4c7318fd564b0196bd38b6573eb84c9d51e2d1.tar.gz tcl-ab4c7318fd564b0196bd38b6573eb84c9d51e2d1.tar.bz2 |
make some more internal tables const
Diffstat (limited to 'generic/tclIOCmd.c')
-rw-r--r-- | generic/tclIOCmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclIOCmd.c b/generic/tclIOCmd.c index 0c05cbf..21dcd71 100644 --- a/generic/tclIOCmd.c +++ b/generic/tclIOCmd.c @@ -518,7 +518,7 @@ Tcl_SeekObjCmd( static const char *originOptions[] = { "start", "current", "end", NULL }; - static int modeArray[] = {SEEK_SET, SEEK_CUR, SEEK_END}; + static CONST int modeArray[] = {SEEK_SET, SEEK_CUR, SEEK_END}; if ((objc != 3) && (objc != 4)) { Tcl_WrongNumArgs(interp, 1, objv, "channelId offset ?origin?"); |