summaryrefslogtreecommitdiffstats
path: root/generic/tkTest.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-18 18:22:03 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-18 18:22:03 (GMT)
commit851c442b53473d494521a4633e8d764cb5d5e45a (patch)
treeceb431e7d0adf6d635f33303e9e505b2a28d4bf8 /generic/tkTest.c
parent8a1bd75ea0b55649f8dbabaa86aae60fc85b116b (diff)
parent95c5b39b2e335c0fc08a25281ad9097a29aee1ae (diff)
downloadtk-851c442b53473d494521a4633e8d764cb5d5e45a.zip
tk-851c442b53473d494521a4633e8d764cb5d5e45a.tar.gz
tk-851c442b53473d494521a4633e8d764cb5d5e45a.tar.bz2
make some internal tables const
Diffstat (limited to 'generic/tkTest.c')
-rw-r--r--generic/tkTest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkTest.c b/generic/tkTest.c
index 639ed8d..71368f3 100644
--- a/generic/tkTest.c
+++ b/generic/tkTest.c
@@ -697,7 +697,7 @@ TestobjconfigObjCmd(
Tcl_Obj *customPtr;
} TypesRecord;
TypesRecord *recordPtr;
- static char *stringTable[] = {
+ static const char *stringTable[] = {
"one", "two", "three", "four", NULL
};
static const Tk_OptionSpec typesSpecs[] = {
@@ -970,7 +970,7 @@ TestobjconfigObjCmd(
char *custom;
} InternalRecord;
InternalRecord *recordPtr;
- static char *internalStringTable[] = {
+ static const char *internalStringTable[] = {
"one", "two", "three", "four", NULL
};
static const Tk_OptionSpec internalSpecs[] = {