From d2c446fa70d95edabe7abc4ab43777c8151fb30b Mon Sep 17 00:00:00 2001 From: hobbs Date: Sat, 4 Aug 2001 00:29:43 +0000 Subject: * win/winMain.c (WishPanic): fixed CONST changes to go with CONST-ification in Tcl. --- win/winMain.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/win/winMain.c b/win/winMain.c index cf517b0..2d24a4f 100644 --- a/win/winMain.c +++ b/win/winMain.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: winMain.c,v 1.10 2000/04/19 23:12:56 hobbs Exp $ + * RCS: @(#) $Id: winMain.c,v 1.11 2001/08/04 00:29:43 hobbs Exp $ */ #include @@ -32,7 +32,7 @@ */ static void setargv _ANSI_ARGS_((int *argcPtr, char ***argvPtr)); -static void WishPanic _ANSI_ARGS_(TCL_VARARGS(char *,format)); +static void WishPanic _ANSI_ARGS_(TCL_VARARGS(CONST char *,format)); #ifdef TK_TEST extern int Tktest_Init(Tcl_Interp *interp); @@ -237,13 +237,13 @@ error: */ void -WishPanic TCL_VARARGS_DEF(char *,arg1) +WishPanic TCL_VARARGS_DEF(CONST char *,arg1) { va_list argList; char buf[1024]; - char *format; + CONST char *format; - format = TCL_VARARGS_START(char *,arg1,argList); + format = TCL_VARARGS_START(CONST char *,arg1,argList); vsprintf(buf, format, argList); MessageBeep(MB_ICONEXCLAMATION); -- cgit v0.12