summaryrefslogtreecommitdiffstats
path: root/generic/tclConfig.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2008-08-07 22:29:09 (GMT)
committernijtmans <nijtmans>2008-08-07 22:29:09 (GMT)
commit0f1dccb3a4258d401a597efe627913246f49357d (patch)
tree7aeef5863dce42a752d234829586079236adc8c0 /generic/tclConfig.c
parent15dff7716f39d8df807b873b3e29f2955c5855ca (diff)
downloadtcl-0f1dccb3a4258d401a597efe627913246f49357d.zip
tcl-0f1dccb3a4258d401a597efe627913246f49357d.tar.gz
tcl-0f1dccb3a4258d401a597efe627913246f49357d.tar.bz2
generic/tclExecute.c formatting only: remove spaces at the end of a every line
generic/tclConfig.c make the internal cfg variable const. generic/tclTrace.c add a "const" keyword, allowing the "traceSubCmds[]" array to be placed by the C- compiler in a code segment in stead of a data segment Those harmless changes are as a preparation for a future change proposal. Unfortunately, my (Eclipse) editor automatically removes spaces at the end of every line. Creating a patch for this proposal should not contain unrelated harmless changes, so therefore this separate check-in. No change in functionality. No risk.
Diffstat (limited to 'generic/tclConfig.c')
-rw-r--r--generic/tclConfig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclConfig.c b/generic/tclConfig.c
index a810521..e0ee15a 100644
--- a/generic/tclConfig.c
+++ b/generic/tclConfig.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclConfig.c,v 1.21 2008/07/19 22:50:40 nijtmans Exp $
+ * RCS: @(#) $Id: tclConfig.c,v 1.22 2008/08/07 22:29:09 nijtmans Exp $
*/
#include "tclInt.h"
@@ -78,7 +78,7 @@ Tcl_RegisterConfig(
* configuration values, ASCII, thus UTF-8. */
{
Tcl_DString cmdName;
- Tcl_Config *cfg;
+ const Tcl_Config *cfg;
Tcl_Encoding venc = Tcl_GetEncoding(NULL, valEncoding);
QCCD *cdPtr = (QCCD *) ckalloc(sizeof(QCCD));