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/tclExecute.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/tclExecute.c')
-rw-r--r-- | generic/tclExecute.c | 4 |
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}, |