diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-18 21:38:50 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-18 21:38:50 (GMT) |
commit | bb146c387f42e478b1d8ffbc8617988fb572587c (patch) | |
tree | 21613b0eb89c7761720b11b131e69e333052ed9b /generic/tclEncoding.c | |
parent | c15c9e5f26e373ec9674b39dc42d2c3500c65b5c (diff) | |
download | tcl-bb146c387f42e478b1d8ffbc8617988fb572587c.zip tcl-bb146c387f42e478b1d8ffbc8617988fb572587c.tar.gz tcl-bb146c387f42e478b1d8ffbc8617988fb572587c.tar.bz2 |
make some more internal tables CONST
fix compilation with -DNO_CONST
Diffstat (limited to 'generic/tclEncoding.c')
-rw-r--r-- | generic/tclEncoding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclEncoding.c b/generic/tclEncoding.c index a4a7027..73c4067 100644 --- a/generic/tclEncoding.c +++ b/generic/tclEncoding.c @@ -1462,7 +1462,7 @@ LoadTableEncoding(interp, name, type, chan) * sequences in the encoding files. */ - static char staticHex[] = { + static CONST char staticHex[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 0 ... 15 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 16 ... 31 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 32 ... 47 */ |