diff options
author | nijtmans <nijtmans> | 2008-10-16 22:34:18 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2008-10-16 22:34:18 (GMT) |
commit | 8b464633a0f2df93912ad25af65a5724cd643da2 (patch) | |
tree | c92c0492d1db21f9b0c7f880eec5c0cd3ce36762 /generic/tclIO.c | |
parent | 2b0bd4b76e50ee9f511c827309e0078efc6f537a (diff) | |
download | tcl-8b464633a0f2df93912ad25af65a5724cd643da2.zip tcl-8b464633a0f2df93912ad25af65a5724cd643da2.tar.gz tcl-8b464633a0f2df93912ad25af65a5724cd643da2.tar.bz2 |
Add "const" to many internal
const tables. No functional
or API change.
Diffstat (limited to 'generic/tclIO.c')
-rw-r--r-- | generic/tclIO.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclIO.c b/generic/tclIO.c index c69a8e2..7ec28c8 100644 --- a/generic/tclIO.c +++ b/generic/tclIO.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclIO.c,v 1.144 2008/10/04 12:33:34 nijtmans Exp $ + * RCS: @(#) $Id: tclIO.c,v 1.145 2008/10/16 22:34:19 nijtmans Exp $ */ #include "tclInt.h" @@ -8346,7 +8346,7 @@ Tcl_FileEventObjCmd( char *chanName; int modeIndex; /* Index of mode argument. */ int mask; - static const char *modeOptions[] = {"readable", "writable", NULL}; + static const char *const modeOptions[] = {"readable", "writable", NULL}; static int maskArray[] = {TCL_READABLE, TCL_WRITABLE}; if ((objc != 3) && (objc != 4)) { |