summaryrefslogtreecommitdiffstats
path: root/generic/tclTrace.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/tclTrace.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/tclTrace.c')
-rw-r--r--generic/tclTrace.c4
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,