diff options
| author | nijtmans <nijtmans> | 2008-08-07 22:29:09 (GMT) |
|---|---|---|
| committer | nijtmans <nijtmans> | 2008-08-07 22:29:09 (GMT) |
| commit | 1884b63cad9c7f92f401444c409ce132f67adb9f (patch) | |
| tree | 7aeef5863dce42a752d234829586079236adc8c0 /generic/tclConfig.c | |
| parent | cc5ad43cac36be4e92aba182a9a108a587481110 (diff) | |
| download | tcl-1884b63cad9c7f92f401444c409ce132f67adb9f.zip tcl-1884b63cad9c7f92f401444c409ce132f67adb9f.tar.gz tcl-1884b63cad9c7f92f401444c409ce132f67adb9f.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.c | 4 |
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)); |
