diff options
| author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2012-04-23 13:17:12 (GMT) |
|---|---|---|
| committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2012-04-23 13:17:12 (GMT) |
| commit | 710e57182b245141bed978043b7a2621d5d097c1 (patch) | |
| tree | 3326a12bac5c8ff056623f23c433b10d6d915585 /generic/tclExecute.c | |
| parent | e4d07f5a90c9bff9035032d5bca3ccf914786d91 (diff) | |
| parent | 6e14d4b037124606898f47db23fd11da4db0b27e (diff) | |
| download | tcl-710e57182b245141bed978043b7a2621d5d097c1.zip tcl-710e57182b245141bed978043b7a2621d5d097c1.tar.gz tcl-710e57182b245141bed978043b7a2621d5d097c1.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}, |
