diff options
Diffstat (limited to 'generic/tkWindow.c')
-rw-r--r-- | generic/tkWindow.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tkWindow.c b/generic/tkWindow.c index 87e93c9..87bb2f7 100644 --- a/generic/tkWindow.c +++ b/generic/tkWindow.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: tkWindow.c,v 1.97 2008/10/18 14:22:21 dkf Exp $ + * RCS: @(#) $Id: tkWindow.c,v 1.98 2008/10/28 22:33:06 nijtmans Exp $ */ #include "tkInt.h" @@ -96,7 +96,7 @@ static XSetWindowAttributes defAtts= { */ typedef struct { - char *name; /* Name of command. */ + const char *name; /* Name of command. */ Tcl_CmdProc *cmdProc; /* Command's string-based function. */ Tcl_ObjCmdProc *objProc; /* Command's object-based function. */ int isSafe; /* If !0, this command will be exposed in a @@ -854,7 +854,7 @@ TkCreateMainWindow( const char *screenName, /* Name of screen on which to create window. * Empty or NULL string means use DISPLAY * environment variable. */ - char *baseName) /* Base name for application; usually of the + const char *baseName) /* Base name for application; usually of the * form "prog instance". */ { Tk_Window tkwin; @@ -2935,7 +2935,7 @@ Initialize( char *p; int argc, code; const char **argv; - char *args[20]; + const char *args[20]; const char *argString = NULL; Tcl_DString class; ThreadSpecificData *tsdPtr; |