diff options
author | Kevin B Kenny <kennykb@acm.org> | 2001-04-27 22:11:51 (GMT) |
---|---|---|
committer | Kevin B Kenny <kennykb@acm.org> | 2001-04-27 22:11:51 (GMT) |
commit | 1dd4412b8b297335a3afc8b2fadb3b8e1a5c1008 (patch) | |
tree | 78af95402457478beaea317227964953c26db4eb /generic/tclVar.c | |
parent | a45e56585d9c1954635d19af697119c4ed0f8fc2 (diff) | |
download | tcl-1dd4412b8b297335a3afc8b2fadb3b8e1a5c1008.zip tcl-1dd4412b8b297335a3afc8b2fadb3b8e1a5c1008.tar.gz tcl-1dd4412b8b297335a3afc8b2fadb3b8e1a5c1008.tar.bz2 |
Added several missing CONSTs in calls to TclGetNamespaceForQualName
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 73e2fcd..dcaf2c8 100644 --- a/generic/tclVar.c +++ b/generic/tclVar.c @@ -14,7 +14,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.30 2001/03/24 01:14:11 hobbs Exp $ + * RCS: @(#) $Id: tclVar.c,v 1.31 2001/04/27 22:11:51 kennykb Exp $ */ #include "tclInt.h" @@ -248,7 +248,7 @@ TclLookupVar(interp, part1, part2, flags, msg, createPart1, createPart2, || (varFramePtr == NULL) || !varFramePtr->isProcCallFrame || (strstr(part1, "::") != NULL)) { - char *tail; + CONST char *tail; /* * Don't pass TCL_LEAVE_ERR_MSG, we may yet create the variable, @@ -3489,7 +3489,7 @@ MakeUpvar(iPtr, framePtr, otherP1, otherP2, otherFlags, myName, myFlags) CallFrame *savedFramePtr = NULL; /* Init. to avoid compiler warning. */ Tcl_HashTable *tablePtr; Namespace *nsPtr, *altNsPtr, *dummyNsPtr; - char *tail; + CONST char *tail; int new; /* |