summaryrefslogtreecommitdiffstats
path: root/generic/tclIOCmd.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-23 13:17:12 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-23 13:17:12 (GMT)
commitab4c7318fd564b0196bd38b6573eb84c9d51e2d1 (patch)
tree3326a12bac5c8ff056623f23c433b10d6d915585 /generic/tclIOCmd.c
parent75d9b50fe87d98b7e6ef6058d0e39cd0c46e8c66 (diff)
parent6f14ff020a548ab6adcb30836c498ab0fe921970 (diff)
downloadtcl-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.c2
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?");