summaryrefslogtreecommitdiffstats
path: root/generic/tkCmds.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2002-03-20 22:55:16 (GMT)
committerdgp <dgp@users.sourceforge.net>2002-03-20 22:55:16 (GMT)
commit8ec927ee5453686c58261fb86a1789a031b0cf98 (patch)
treebb2cc30a000130e42e9c7b1dddb4a77ffa3bd1e6 /generic/tkCmds.c
parentccbffd0e25dc9ee8600eee53815af75be7268a05 (diff)
downloadtk-8ec927ee5453686c58261fb86a1789a031b0cf98.zip
tk-8ec927ee5453686c58261fb86a1789a031b0cf98.tar.gz
tk-8ec927ee5453686c58261fb86a1789a031b0cf98.tar.bz2
* Updates to handle change in type of part2 argument of
Tcl_VarTraceProc typedef. [TIP 27] [Patch 532644].
Diffstat (limited to 'generic/tkCmds.c')
-rw-r--r--generic/tkCmds.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkCmds.c b/generic/tkCmds.c
index c589f8f..c1b6275 100644
--- a/generic/tkCmds.c
+++ b/generic/tkCmds.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkCmds.c,v 1.22 2002/02/02 00:16:05 hobbs Exp $
+ * RCS: @(#) $Id: tkCmds.c,v 1.23 2002/03/20 22:55:16 dgp Exp $
*/
#include "tkPort.h"
@@ -32,7 +32,7 @@
static TkWindow * GetToplevel _ANSI_ARGS_((Tk_Window tkwin));
static char * WaitVariableProc _ANSI_ARGS_((ClientData clientData,
- Tcl_Interp *interp, char *name1, char *name2,
+ Tcl_Interp *interp, char *name1, CONST char *name2,
int flags));
static void WaitVisibilityProc _ANSI_ARGS_((ClientData clientData,
XEvent *eventPtr));
@@ -856,7 +856,7 @@ WaitVariableProc(clientData, interp, name1, name2, flags)
ClientData clientData; /* Pointer to integer to set to 1. */
Tcl_Interp *interp; /* Interpreter containing variable. */
char *name1; /* Name of variable. */
- char *name2; /* Second part of variable name. */
+ CONST char *name2; /* Second part of variable name. */
int flags; /* Information about what happened. */
{
int *donePtr = (int *) clientData;