summaryrefslogtreecommitdiffstats
path: root/win/tclWinSock.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2024-03-19 14:56:45 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2024-03-19 14:56:45 (GMT)
commit16b3adf662893e6db67e82fb1df01063e1315548 (patch)
treebcfa89065ecea0a374bed505c235b77cba3db0a3 /win/tclWinSock.c
parent7bf9d79d60378e206b741af48b8cf6c55451557e (diff)
downloadtcl-16b3adf662893e6db67e82fb1df01063e1315548.zip
tcl-16b3adf662893e6db67e82fb1df01063e1315548.tar.gz
tcl-16b3adf662893e6db67e82fb1df01063e1315548.tar.bz2
Fix indentation/brace usage style issues
Diffstat (limited to 'win/tclWinSock.c')
-rw-r--r--win/tclWinSock.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tclWinSock.c b/win/tclWinSock.c
index d600f1f..17b6004 100644
--- a/win/tclWinSock.c
+++ b/win/tclWinSock.c
@@ -429,7 +429,7 @@ Tcl_GetHostName(void)
*/
void
-TclInitSockets()
+TclInitSockets(void)
{
/* Then Per thread initialization. */
DWORD id;
@@ -1203,7 +1203,7 @@ TcpSetOptionProc(
return TCL_OK;
}
if ((len > 1) && (optionName[1] == 'n') &&
- (strncmp(optionName, "-nodelay", len) == 0)) {
+ (strncmp(optionName, "-nodelay", len) == 0)) {
BOOL boolVar;
int rtn;
@@ -2268,7 +2268,7 @@ Tcl_OpenTcpServerEx(
ioctlsocket(sock, (long) FIONBIO, &flag);
SendSelectMessage(tsdPtr, SELECT, statePtr);
if (Tcl_SetChannelOption(interp, statePtr->channel, "-eofchar", "")
- == TCL_ERROR) {
+ == TCL_ERROR) {
Tcl_CloseEx(NULL, statePtr->channel, 0);
return NULL;
}