summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-10-12 14:40:34 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-10-12 14:40:34 (GMT)
commitaf0441257350948ae892cc9c2dc798eea0a62d2c (patch)
tree096f24e6b007ea9819dbdcc3af9708e2cf87c9e1 /unix
parent14998a5fff1e9c95a47da25ca632d0d2cd637d3c (diff)
parentea1d0bdda1fbfe0bcdd1b2d0d1cfb6684670693c (diff)
downloadtcl-af0441257350948ae892cc9c2dc798eea0a62d2c.zip
tcl-af0441257350948ae892cc9c2dc798eea0a62d2c.tar.gz
tcl-af0441257350948ae892cc9c2dc798eea0a62d2c.tar.bz2
Merge 8.6
Diffstat (limited to 'unix')
-rw-r--r--unix/tclUnixSock.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/unix/tclUnixSock.c b/unix/tclUnixSock.c
index 45a3c4d..d6e5386 100644
--- a/unix/tclUnixSock.c
+++ b/unix/tclUnixSock.c
@@ -146,7 +146,7 @@ static int TcpSetOptionProc(void *instanceData,
static void TcpThreadActionProc(void *instanceData, int action);
static void TcpWatchProc(void *instanceData, int mask);
static int WaitForConnect(TcpState *statePtr, int *errorCodePtr);
-static void WrapNotify(void *clientData, int mask);
+static Tcl_FileProc WrapNotify;
/*
* This structure describes the channel type structure for TCP socket
@@ -1218,10 +1218,10 @@ TcpWatchProc(
*/
statePtr->interest = mask;
- Tcl_CreateFileHandler(statePtr->fds.fd, mask|TCL_READABLE,
- (Tcl_FileProc *) WrapNotify, statePtr);
+ Tcl_CreateFileHandler(statePtr->fds.fd, mask|TCL_READABLE,
+ WrapNotify, statePtr);
} else {
- Tcl_DeleteFileHandler(statePtr->fds.fd);
+ Tcl_DeleteFileHandler(statePtr->fds.fd);
}
}