From 8c25ff2220dff2b96797b78bdfe3ce8ae77b8e37 Mon Sep 17 00:00:00 2001 From: mdejong Date: Fri, 14 Jun 2002 23:49:12 +0000 Subject: * generic/tkBind.c (TkXErrorHandler): Declare static function to avoid compiler error with VC++. --- ChangeLog | 5 +++++ generic/tkEvent.c | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index aa7eed5..e2a45be 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2002-06-14 Mo DeJong + * generic/tkBind.c (TkXErrorHandler): Declare static + function to avoid compiler error with VC++. + +2002-06-14 Mo DeJong + * generic/tkBind.c (ExpandPercents): Cast argument to Tk_GetAtomName in order to avoid compiler warning. diff --git a/generic/tkEvent.c b/generic/tkEvent.c index 4f40873..68887f1 100644 --- a/generic/tkEvent.c +++ b/generic/tkEvent.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: tkEvent.c,v 1.10 2002/06/14 22:25:12 jenglish Exp $ + * RCS: @(#) $Id: tkEvent.c,v 1.11 2002/06/14 23:49:13 mdejong Exp $ */ #include "tkPort.h" @@ -161,6 +161,8 @@ static Tcl_ThreadDataKey dataKey; static void DelayedMotionProc _ANSI_ARGS_((ClientData clientData)); static int WindowEventProc _ANSI_ARGS_((Tcl_Event *evPtr, int flags)); +static int TkXErrorHandler _ANSI_ARGS_((ClientData clientData, + XErrorEvent *errEventPtr)); /* -- cgit v0.12