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/tclTrace.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/tclTrace.c')
-rw-r--r-- | generic/tclTrace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclTrace.c b/generic/tclTrace.c index b15b671..bb4dbfa 100644 --- a/generic/tclTrace.c +++ b/generic/tclTrace.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclTrace.c,v 1.49 2008/07/19 22:50:42 nijtmans Exp $ + * RCS: @(#) $Id: tclTrace.c,v 1.50 2008/08/07 22:29:09 nijtmans Exp $ */ #include "tclInt.h" @@ -112,7 +112,7 @@ static Tcl_TraceTypeObjCmd TraceExecutionObjCmd; static const char *traceTypeOptions[] = { "execution", "command", "variable", NULL }; -static Tcl_TraceTypeObjCmd *traceSubCmds[] = { +static Tcl_TraceTypeObjCmd *const traceSubCmds[] = { TraceExecutionObjCmd, TraceCommandObjCmd, TraceVariableObjCmd, |