Attachment "xtnofity.diff" to
ticket [0d1a98ce9d]
added by
emiliano
2026-05-22 17:32:17.
Index: unix/tclXtNotify.c
==================================================================
--- unix/tclXtNotify.c
+++ unix/tclXtNotify.c
@@ -179,11 +179,11 @@
*/
void
InitNotifier(void)
{
- static const Tcl_NotifierProcs np =
+ static const Tcl_NotifierProcs np = {
SetTimer,
WaitForEvent,
CreateFileHandler,
DeleteFileHandler,
NULL, NULL, NULL, NULL
@@ -488,11 +488,11 @@
*/
static void
FileProc(
XtPointer clientData,
- int *fd,
+ TCL_UNUSED(int *),
XtInputId *id)
{
FileHandler *filePtr = (FileHandler *) clientData;
FileHandlerEvent *fileEvPtr;
int mask = 0;
Index: unix/tclXtTest.c
==================================================================
--- unix/tclXtTest.c
+++ unix/tclXtTest.c
@@ -11,11 +11,11 @@
#ifndef USE_TCL_STUBS
# define USE_TCL_STUBS
#endif
#include <X11/Intrinsic.h>
-#include "tcl.h"
+#include "tclInt.h"
static Tcl_ObjCmdProc2 TesteventloopCmd;
/*
* Functions defined in tclXtNotify.c for use by users of the Xt Notifier: