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/tclProc.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/tclProc.c')
-rw-r--r-- | generic/tclProc.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/generic/tclProc.c b/generic/tclProc.c index d2c8227..4ae489d 100644 --- a/generic/tclProc.c +++ b/generic/tclProc.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclProc.c,v 1.24 2000/05/03 00:14:35 hobbs Exp $ + * RCS: @(#) $Id: tclProc.c,v 1.25 2001/04/27 22:11:51 kennykb Exp $ */ #include "tclInt.h" @@ -67,7 +67,8 @@ Tcl_ProcObjCmd(dummy, interp, objc, objv) { register Interp *iPtr = (Interp *) interp; Proc *procPtr; - char *fullName, *procName; + char *fullName; + CONST char *procName; Namespace *nsPtr, *altNsPtr, *cxtNsPtr; Tcl_Command cmd; Tcl_DString ds; @@ -175,7 +176,7 @@ int TclCreateProc(interp, nsPtr, procName, argsPtr, bodyPtr, procPtrPtr) Tcl_Interp *interp; /* interpreter containing proc */ Namespace *nsPtr; /* namespace containing this proc */ - char *procName; /* unqualified name of this proc */ + CONST char *procName; /* unqualified name of this proc */ Tcl_Obj *argsPtr; /* description of arguments */ Tcl_Obj *bodyPtr; /* command body */ Proc **procPtrPtr; /* returns: pointer to proc data */ |