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 | 79d05673697da9aed5779d1613e072d02fe0b759 (patch) | |
tree | 3326a12bac5c8ff056623f23c433b10d6d915585 /generic/tclIO.c | |
parent | c6135146884f4b20a7dda117708475f8b999401a (diff) | |
parent | ec714d550beaef96474f793d50913556599c2ca5 (diff) | |
download | tcl-79d05673697da9aed5779d1613e072d02fe0b759.zip tcl-79d05673697da9aed5779d1613e072d02fe0b759.tar.gz tcl-79d05673697da9aed5779d1613e072d02fe0b759.tar.bz2 |
make some more internal tables const
Diffstat (limited to 'generic/tclIO.c')
-rw-r--r-- | generic/tclIO.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclIO.c b/generic/tclIO.c index 0f01baa..b9fa18d 100644 --- a/generic/tclIO.c +++ b/generic/tclIO.c @@ -8401,7 +8401,7 @@ Tcl_FileEventObjCmd( int modeIndex; /* Index of mode argument. */ int mask; static const char *modeOptions[] = {"readable", "writable", NULL}; - static int maskArray[] = {TCL_READABLE, TCL_WRITABLE}; + static CONST int maskArray[] = {TCL_READABLE, TCL_WRITABLE}; if ((objc != 3) && (objc != 4)) { Tcl_WrongNumArgs(interp, 1, objv, "channelId event ?script?"); |