summaryrefslogtreecommitdiffstats
path: root/generic/tclExecute.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2012-05-24 16:50:40 (GMT)
committerdgp <dgp@users.sourceforge.net>2012-05-24 16:50:40 (GMT)
commit145ea8bbc6e1d499365d3e7ea81386aef956e32b (patch)
tree4251a9956293cba5d933f821e66ea739b15f7dca /generic/tclExecute.c
parente451e666af76a6917a4c5c054b87c4c6f39d9484 (diff)
parent68d4dd76ebfda8029af039e6f6fd403ca851ce21 (diff)
downloadtcl-145ea8bbc6e1d499365d3e7ea81386aef956e32b.zip
tcl-145ea8bbc6e1d499365d3e7ea81386aef956e32b.tar.gz
tcl-145ea8bbc6e1d499365d3e7ea81386aef956e32b.tar.bz2
merge 8.5
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},