diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-18 18:08:37 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-18 18:08:37 (GMT) |
commit | 95c5b39b2e335c0fc08a25281ad9097a29aee1ae (patch) | |
tree | bab392895ed17f917311f2fb0119304a49a10671 /generic/tkTest.c | |
parent | 15bcec02d97d8789fa796cabdc76859618f22387 (diff) | |
download | tk-95c5b39b2e335c0fc08a25281ad9097a29aee1ae.zip tk-95c5b39b2e335c0fc08a25281ad9097a29aee1ae.tar.gz tk-95c5b39b2e335c0fc08a25281ad9097a29aee1ae.tar.bz2 |
make some more internal tables CONST
Diffstat (limited to 'generic/tkTest.c')
-rw-r--r-- | generic/tkTest.c | 4 |
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[] = { |