summaryrefslogtreecommitdiffstats
path: root/generic/tkTest.c
diff options
context:
space:
mode:
authorjan.nijtmans <jan.nijtmans@noemail.net>2012-04-18 18:08:37 (GMT)
committerjan.nijtmans <jan.nijtmans@noemail.net>2012-04-18 18:08:37 (GMT)
commitd054e30438b53eca86150e549cf17bec6b0b55b1 (patch)
treebab392895ed17f917311f2fb0119304a49a10671 /generic/tkTest.c
parente98d7ffda81f32c87296525964765fb86b52951d (diff)
downloadtk-d054e30438b53eca86150e549cf17bec6b0b55b1.zip
tk-d054e30438b53eca86150e549cf17bec6b0b55b1.tar.gz
tk-d054e30438b53eca86150e549cf17bec6b0b55b1.tar.bz2
make some more internal tables CONST
FossilOrigin-Name: aa7261636c2ac1e7b4d8fff7e955838917652a20
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 0d6657a..fdd70b7 100644
--- a/generic/tkTest.c
+++ b/generic/tkTest.c
@@ -717,7 +717,7 @@ TestobjconfigObjCmd(clientData, interp, objc, objv)
Tcl_Obj *customPtr;
} TypesRecord;
TypesRecord *recordPtr;
- static char *stringTable[] = {"one", "two", "three", "four",
+ static CONST char *stringTable[] = {"one", "two", "three", "four",
(char *) NULL};
static Tk_OptionSpec typesSpecs[] = {
{TK_OPTION_BOOLEAN,
@@ -1032,7 +1032,7 @@ TestobjconfigObjCmd(clientData, interp, objc, objv)
char *custom;
} InternalRecord;
InternalRecord *recordPtr;
- static char *internalStringTable[] = {
+ static CONST char *internalStringTable[] = {
"one", "two", "three", "four", (char *) NULL
};
static Tk_OptionSpec internalSpecs[] = {