diff options
author | Miguel Sofer <miguel.sofer@gmail.com> | 2002-07-17 20:27:34 (GMT) |
---|---|---|
committer | Miguel Sofer <miguel.sofer@gmail.com> | 2002-07-17 20:27:34 (GMT) |
commit | b6f6d97e727f10bb363e7951b3cb80bbfac6296a (patch) | |
tree | a3faf1c2cd1d0ea7f031f0a9761e7d3041160bcc /generic | |
parent | e1074e1811926784013cdee67c5f68f4b7f7353c (diff) | |
download | tcl-b6f6d97e727f10bb363e7951b3cb80bbfac6296a.zip tcl-b6f6d97e727f10bb363e7951b3cb80bbfac6296a.tar.gz tcl-b6f6d97e727f10bb363e7951b3cb80bbfac6296a.tar.bz2 |
* generic/tclVar.c (TclPtrIncrVar): missing CONST in declarations,
inconsistent with tclInt.h
Diffstat (limited to 'generic')
-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. */ |