diff options
author | dgp <dgp@noemail.net> | 2002-03-20 22:47:35 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2002-03-20 22:47:35 (GMT) |
commit | ba9f95d5492347d48f0585b5a7d711347e973bf3 (patch) | |
tree | 8f368f02d83a51268df54df95963ddc703bfa767 /generic/tclLink.c | |
parent | 431752470573c699cd64c8174c40c89614896d4d (diff) | |
download | tcl-ba9f95d5492347d48f0585b5a7d711347e973bf3.zip tcl-ba9f95d5492347d48f0585b5a7d711347e973bf3.tar.gz tcl-ba9f95d5492347d48f0585b5a7d711347e973bf3.tar.bz2 |
* Updated interfaces of generic/tclVar.c according
to TIP 27. In particular, the "part2" arguments were CONSTified.
FossilOrigin-Name: b64c27e52d63f10977aa98296f7f47941929cfff
Diffstat (limited to 'generic/tclLink.c')
-rw-r--r-- | generic/tclLink.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclLink.c b/generic/tclLink.c index 60a86f1..b81554e 100644 --- a/generic/tclLink.c +++ b/generic/tclLink.c @@ -13,7 +13,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclLink.c,v 1.6 2002/02/28 00:38:26 hobbs Exp $ + * RCS: @(#) $Id: tclLink.c,v 1.7 2002/03/20 22:47:36 dgp Exp $ */ #include "tclInt.h" @@ -60,7 +60,7 @@ typedef struct Link { */ static char * LinkTraceProc _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, char *name1, char *name2, + Tcl_Interp *interp, char *name1, CONST char *name2, int flags)); static Tcl_Obj * ObjValue _ANSI_ARGS_((Link *linkPtr)); @@ -230,7 +230,7 @@ LinkTraceProc(clientData, interp, name1, name2, flags) ClientData clientData; /* Contains information about the link. */ Tcl_Interp *interp; /* Interpreter containing Tcl variable. */ char *name1; /* First part of variable name. */ - char *name2; /* Second part of variable name. */ + CONST char *name2; /* Second part of variable name. */ int flags; /* Miscellaneous additional information. */ { Link *linkPtr = (Link *) clientData; |