diff options
author | nijtmans <nijtmans@noemail.net> | 2008-08-07 22:29:08 (GMT) |
---|---|---|
committer | nijtmans <nijtmans@noemail.net> | 2008-08-07 22:29:08 (GMT) |
commit | c7efaa198cb9fde12a6e627c8c044954e7d9c66b (patch) | |
tree | 7aeef5863dce42a752d234829586079236adc8c0 /generic/tclConfig.c | |
parent | f67b92af40d0c772c8711f2aa457668ca93aff0d (diff) | |
download | tcl-c7efaa198cb9fde12a6e627c8c044954e7d9c66b.zip tcl-c7efaa198cb9fde12a6e627c8c044954e7d9c66b.tar.gz tcl-c7efaa198cb9fde12a6e627c8c044954e7d9c66b.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.
FossilOrigin-Name: 697472b8f78e61ec141e6ad509bd8df1fb9229e7
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)); |