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/tclEnv.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/tclEnv.c')
-rw-r--r-- | generic/tclEnv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclEnv.c b/generic/tclEnv.c index c4f6ea2..86a1844 100644 --- a/generic/tclEnv.c +++ b/generic/tclEnv.c @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclEnv.c,v 1.12 2002/02/08 02:52:54 dgp Exp $ + * RCS: @(#) $Id: tclEnv.c,v 1.13 2002/03/20 22:47:36 dgp Exp $ */ #include "tclInt.h" @@ -46,7 +46,7 @@ char **environ = NULL; */ static char * EnvTraceProc _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, char *name1, char *name2, + Tcl_Interp *interp, char *name1, CONST char *name2, int flags)); static void ReplaceString _ANSI_ARGS_((CONST char *oldStr, char *newStr)); @@ -506,7 +506,7 @@ EnvTraceProc(clientData, interp, name1, name2, flags) Tcl_Interp *interp; /* Interpreter whose "env" variable is * being modified. */ char *name1; /* Better be "env". */ - char *name2; /* Name of variable being modified, or NULL + CONST char *name2; /* Name of variable being modified, or NULL * if whole array is being deleted (UTF-8). */ int flags; /* Indicates what's happening. */ { |