summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixSock.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-21 16:27:23 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-21 16:27:23 (GMT)
commit6859fb45c25a8eb401e7d0decab9b77b24014627 (patch)
treec5f321ba2fa57700c13974c7da95d97c66215fbd /unix/tclUnixSock.c
parent424ff3b68c8ecc22d0f8de08c13bbea69036e334 (diff)
parent5527cd9c6af02e9a7ccfcb8f56526e5a484dfbcd (diff)
downloadtcl-6859fb45c25a8eb401e7d0decab9b77b24014627.zip
tcl-6859fb45c25a8eb401e7d0decab9b77b24014627.tar.gz
tcl-6859fb45c25a8eb401e7d0decab9b77b24014627.tar.bz2
merge trunk.
rename TclInitStubs to Tcl_InitStubs, so tclStubLibCompat.c is no longer necessary
Diffstat (limited to 'unix/tclUnixSock.c')
-rw-r--r--unix/tclUnixSock.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tclUnixSock.c b/unix/tclUnixSock.c
index 31daa62..528f009 100644
--- a/unix/tclUnixSock.c
+++ b/unix/tclUnixSock.c
@@ -1202,7 +1202,7 @@ Tcl_Channel
Tcl_MakeTcpClientChannel(
ClientData sock) /* The socket to wrap up into a channel. */
{
- return TclpMakeTcpClientChannelMode(sock, (TCL_READABLE | TCL_WRITABLE));
+ return (Tcl_Channel) TclpMakeTcpClientChannelMode(sock, (TCL_READABLE | TCL_WRITABLE));
}
/*
@@ -1222,9 +1222,9 @@ Tcl_MakeTcpClientChannel(
*----------------------------------------------------------------------
*/
-Tcl_Channel
+void *
TclpMakeTcpClientChannelMode(
- ClientData sock, /* The socket to wrap up into a channel. */
+ void *sock, /* The socket to wrap up into a channel. */
int mode) /* ORed combination of TCL_READABLE and
* TCL_WRITABLE to indicate file mode. */
{