summaryrefslogtreecommitdiffstats
path: root/generic/tclExecute.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)
commit79d05673697da9aed5779d1613e072d02fe0b759 (patch)
tree3326a12bac5c8ff056623f23c433b10d6d915585 /generic/tclExecute.c
parentc6135146884f4b20a7dda117708475f8b999401a (diff)
parentec714d550beaef96474f793d50913556599c2ca5 (diff)
downloadtcl-79d05673697da9aed5779d1613e072d02fe0b759.zip
tcl-79d05673697da9aed5779d1613e072d02fe0b759.tar.gz
tcl-79d05673697da9aed5779d1613e072d02fe0b759.tar.bz2
make some more internal tables const
Diffstat (limited to 'generic/tclExecute.c')
-rw-r--r--generic/tclExecute.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index 8d97392..f2efa0f 100644
--- a/generic/tclExecute.c
+++ b/generic/tclExecute.c
@@ -116,7 +116,7 @@ long tclObjsShared[TCL_MAX_SHARED_OBJ_STATS] = { 0, 0, 0, 0, 0 };
*/
typedef struct {
- char *name; /* Name of function. */
+ const char *name; /* Name of function. */
int numArgs; /* Number of arguments for function. */
} BuiltinFunc;
@@ -126,7 +126,7 @@ typedef struct {
* operand byte.
*/
-static BuiltinFunc tclBuiltinFuncTable[] = {
+static const BuiltinFunc tclBuiltinFuncTable[] = {
{"acos", 1},
{"asin", 1},
{"atan", 1},