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/tclIO.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/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?"); |