summaryrefslogtreecommitdiffstats
path: root/win/tclWinReg.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-23 12:30:28 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-23 12:30:28 (GMT)
commit6f14ff020a548ab6adcb30836c498ab0fe921970 (patch)
tree36a35c68a8d8f61e3b2e51e236b86513e4138025 /win/tclWinReg.c
parentbb146c387f42e478b1d8ffbc8617988fb572587c (diff)
downloadtcl-6f14ff020a548ab6adcb30836c498ab0fe921970.zip
tcl-6f14ff020a548ab6adcb30836c498ab0fe921970.tar.gz
tcl-6f14ff020a548ab6adcb30836c498ab0fe921970.tar.bz2
make some more internal tables const
On cygwin, install dll's in /usr/bin, not in /usr/lib
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 d4c7292..3960fda 100644
--- a/win/tclWinReg.c
+++ b/win/tclWinReg.c
@@ -49,7 +49,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
};