diff options
author | msofer <msofer@noemail.net> | 2002-07-17 20:27:34 (GMT) |
---|---|---|
committer | msofer <msofer@noemail.net> | 2002-07-17 20:27:34 (GMT) |
commit | adffff26333d3f85ccaf8150e62a8217d8fd4f88 (patch) | |
tree | a3faf1c2cd1d0ea7f031f0a9761e7d3041160bcc /generic/tclVar.c | |
parent | 6450792993d073483df207cd67e173760be229ac (diff) | |
download | tcl-adffff26333d3f85ccaf8150e62a8217d8fd4f88.zip tcl-adffff26333d3f85ccaf8150e62a8217d8fd4f88.tar.gz tcl-adffff26333d3f85ccaf8150e62a8217d8fd4f88.tar.bz2 |
* generic/tclVar.c (TclPtrIncrVar): missing CONST in declarations,
inconsistent with tclInt.h
FossilOrigin-Name: 982c61c37fa10167d5817cb8d37e7738d0bd329d
Diffstat (limited to 'generic/tclVar.c')
-rw-r--r-- | generic/tclVar.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclVar.c b/generic/tclVar.c index d20f7e3..2392961 100644 --- a/generic/tclVar.c +++ b/generic/tclVar.c @@ -15,7 +15,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclVar.c,v 1.58 2002/07/17 18:21:55 msofer Exp $ + * RCS: @(#) $Id: tclVar.c,v 1.59 2002/07/17 20:27:34 msofer Exp $ */ #include "tclInt.h" @@ -1775,8 +1775,8 @@ TclPtrIncrVar(interp, varPtr, arrayPtr, part1, part2, incrAmount, flags) CONST char *part2; /* If non-null, points to an object holding * the name of an element in the array * part1Ptr. */ - long incrAmount; /* Amount to be added to variable. */ - int flags; /* Various flags that tell how to incr value: + CONST long incrAmount; /* Amount to be added to variable. */ + CONST int flags; /* Various flags that tell how to incr value: * any of TCL_GLOBAL_ONLY, * TCL_NAMESPACE_ONLY, TCL_APPEND_VALUE, * TCL_LIST_ELEMENT, TCL_LEAVE_ERR_MSG. */ |