summaryrefslogtreecommitdiffstats
path: root/generic/tclOOInfo.c
diff options
context:
space:
mode:
authornijtmans <nijtmans@noemail.net>2008-10-16 22:34:18 (GMT)
committernijtmans <nijtmans@noemail.net>2008-10-16 22:34:18 (GMT)
commitfd1af20283d2bed67e18d4990e3c690ee7740702 (patch)
treec92c0492d1db21f9b0c7f880eec5c0cd3ce36762 /generic/tclOOInfo.c
parent1e2a3ab0abe30f27bec29e326dadc97ee7856269 (diff)
downloadtcl-fd1af20283d2bed67e18d4990e3c690ee7740702.zip
tcl-fd1af20283d2bed67e18d4990e3c690ee7740702.tar.gz
tcl-fd1af20283d2bed67e18d4990e3c690ee7740702.tar.bz2
Add "const" to many internal
const tables. No functional or API change. FossilOrigin-Name: f03d2e2d83be42035c4aad3b01bbd09f5a967c1b
Diffstat (limited to 'generic/tclOOInfo.c')
-rw-r--r--generic/tclOOInfo.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclOOInfo.c b/generic/tclOOInfo.c
index d994e94..583907b 100644
--- a/generic/tclOOInfo.c
+++ b/generic/tclOOInfo.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclOOInfo.c,v 1.9 2008/10/13 21:10:43 dkf Exp $
+ * RCS: @(#) $Id: tclOOInfo.c,v 1.10 2008/10/16 22:34:18 nijtmans Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -415,7 +415,7 @@ InfoObjectIsACmd(
int objc,
Tcl_Obj *const objv[])
{
- static const char *categories[] = {
+ static const char *const categories[] = {
"class", "metaclass", "mixin", "object", "typeof", NULL
};
enum IsACats {
@@ -540,7 +540,7 @@ InfoObjectMethodsCmd(
FOREACH_HASH_DECLS;
Tcl_Obj *namePtr, *resultObj;
Method *mPtr;
- static const char *options[] = {
+ static const char *const options[] = {
"-all", "-localprivate", "-private", NULL
};
enum Options {
@@ -1058,7 +1058,7 @@ InfoClassMethodsCmd(
Tcl_Obj *namePtr, *resultObj;
Method *mPtr;
Class *clsPtr;
- static const char *options[] = {
+ static const char *const options[] = {
"-all", "-localprivate", "-private", NULL
};
enum Options {