diff options
author | dgp <dgp@users.sourceforge.net> | 2002-03-20 22:47:36 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2002-03-20 22:47:36 (GMT) |
commit | 8c538d2de4c21bd7ae487e0432aa39d4ae2b9ed1 (patch) | |
tree | 8f368f02d83a51268df54df95963ddc703bfa767 /generic/tclLink.c | |
parent | e51eaf9011544d3ccb2756c1e458cc42aeddd877 (diff) | |
download | tcl-8c538d2de4c21bd7ae487e0432aa39d4ae2b9ed1.zip tcl-8c538d2de4c21bd7ae487e0432aa39d4ae2b9ed1.tar.gz tcl-8c538d2de4c21bd7ae487e0432aa39d4ae2b9ed1.tar.bz2 |
* Updated interfaces of generic/tclVar.c according
to TIP 27. In particular, the "part2" arguments were CONSTified.
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; |