summaryrefslogtreecommitdiffstats
path: root/generic/tkFrame.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/tkFrame.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/tkFrame.c')
-rw-r--r--generic/tkFrame.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkFrame.c b/generic/tkFrame.c
index 8662dd3..e38fe87 100644
--- a/generic/tkFrame.c
+++ b/generic/tkFrame.c
@@ -162,7 +162,7 @@ enum labelanchor {
LABELANCHOR_W, LABELANCHOR_WN, LABELANCHOR_WS
};
-static char *labelAnchorStrings[] = {
+static CONST char *labelAnchorStrings[] = {
"e", "en", "es", "n", "ne", "nw", "s", "se", "sw", "w", "wn", "ws",
NULL
};
@@ -285,7 +285,7 @@ static const Tk_OptionSpec labelframeOptSpec[] = {
* Class names for widgets, indexed by FrameType.
*/
-static char *classNames[] = {"Frame", "Toplevel", "Labelframe"};
+static CONST char *classNames[] = {"Frame", "Toplevel", "Labelframe"};
/*
* The following table maps from FrameType to the option template for that
@@ -295,7 +295,7 @@ static char *classNames[] = {"Frame", "Toplevel", "Labelframe"};
static const Tk_OptionSpec * const optionSpecs[] = {
frameOptSpec,
toplevelOptSpec,
- labelframeOptSpec,
+ labelframeOptSpec
};
/*