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)
commitab4c7318fd564b0196bd38b6573eb84c9d51e2d1 (patch)
tree3326a12bac5c8ff056623f23c433b10d6d915585 /win/tclWinReg.c
parent75d9b50fe87d98b7e6ef6058d0e39cd0c46e8c66 (diff)
parent6f14ff020a548ab6adcb30836c498ab0fe921970 (diff)
downloadtcl-ab4c7318fd564b0196bd38b6573eb84c9d51e2d1.zip
tcl-ab4c7318fd564b0196bd38b6573eb84c9d51e2d1.tar.gz
tcl-ab4c7318fd564b0196bd38b6573eb84c9d51e2d1.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
};