summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixSock.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-10-12 14:41:31 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-10-12 14:41:31 (GMT)
commit6cfac6b9fb65a3e2470de5fe54ebba27148a20ce (patch)
tree9bb1de19180ccbfc7486f6da357c579334b9d77d /unix/tclUnixSock.c
parenta8542abb38dfca077204db3f750351144bb801ee (diff)
parentaf0441257350948ae892cc9c2dc798eea0a62d2c (diff)
downloadtcl-6cfac6b9fb65a3e2470de5fe54ebba27148a20ce.zip
tcl-6cfac6b9fb65a3e2470de5fe54ebba27148a20ce.tar.gz
tcl-6cfac6b9fb65a3e2470de5fe54ebba27148a20ce.tar.bz2
Merge 8.7
Diffstat (limited to 'unix/tclUnixSock.c')
-rw-r--r--unix/tclUnixSock.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/unix/tclUnixSock.c b/unix/tclUnixSock.c
index 1b2fd1b..36ed409 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
@@ -1215,10 +1215,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);
}
}