summaryrefslogtreecommitdiffstats
path: root/win/tclWinReg.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-23 13:17:12 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-23 13:17:12 (GMT)
commit79d05673697da9aed5779d1613e072d02fe0b759 (patch)
tree3326a12bac5c8ff056623f23c433b10d6d915585 /win/tclWinReg.c
parentc6135146884f4b20a7dda117708475f8b999401a (diff)
parentec714d550beaef96474f793d50913556599c2ca5 (diff)
downloadtcl-79d05673697da9aed5779d1613e072d02fe0b759.zip
tcl-79d05673697da9aed5779d1613e072d02fe0b759.tar.gz
tcl-79d05673697da9aed5779d1613e072d02fe0b759.tar.bz2
make some more internal tables const
Diffstat (limited to 'win/tclWinReg.c')
-rw-r--r--win/tclWinReg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinReg.c b/win/tclWinReg.c
index 8eaf2a7..f2ac367 100644
--- a/win/tclWinReg.c
+++ b/win/tclWinReg.c
@@ -52,7 +52,7 @@ static CONST char *rootKeyNames[] = {
"HKEY_PERFORMANCE_DATA", "HKEY_DYN_DATA", NULL
};
-static HKEY rootKeys[] = {
+static const HKEY rootKeys[] = {
HKEY_LOCAL_MACHINE, HKEY_USERS, HKEY_CLASSES_ROOT, HKEY_CURRENT_USER,
HKEY_CURRENT_CONFIG, HKEY_PERFORMANCE_DATA, HKEY_DYN_DATA
};