summaryrefslogtreecommitdiffstats
path: root/generic/tkEntry.c
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2012-04-18 18:22:03 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2012-04-18 18:22:03 (GMT)
commit9366a3b460d6b81f5cab38d78921c195a8349a8f (patch)
treeceb431e7d0adf6d635f33303e9e505b2a28d4bf8 /generic/tkEntry.c
parent9cd6cc2d5a69c30ce451b8c099dc0a40430f63b8 (diff)
parent8a62ae175255565861cad9c9f862b68ab726ceb1 (diff)
downloadtk-9366a3b460d6b81f5cab38d78921c195a8349a8f.zip
tk-9366a3b460d6b81f5cab38d78921c195a8349a8f.tar.gz
tk-9366a3b460d6b81f5cab38d78921c195a8349a8f.tar.bz2
make some internal tables const
Diffstat (limited to 'generic/tkEntry.c')
-rw-r--r--generic/tkEntry.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkEntry.c b/generic/tkEntry.c
index 8f181cd..8b00a6f 100644
--- a/generic/tkEntry.c
+++ b/generic/tkEntry.c
@@ -35,7 +35,7 @@
#define DOUBLES_EQ(d1, d2) (fabs((d1) - (d2)) < MIN_DBL_VAL)
-static char *stateStrings[] = {
+static CONST char *stateStrings[] = {
"disabled", "normal", "readonly", NULL
};
@@ -43,7 +43,7 @@ static char *stateStrings[] = {
* Definitions for -validate option values:
*/
-static char *validateStrings[] = {
+static CONST char *validateStrings[] = {
"all", "key", "focus", "focusin", "focusout", "none", NULL
};
enum validateType {