summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-11 20:36:16 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-11 20:36:16 (GMT)
commit7a6d97a527bd8148991a5a5da76fb6f75abd687e (patch)
treef060ea4a591517033e0ef5ca81a3cbda6627cf84
parente975dd1380b75e0736e5737ecf73efe9129361bc (diff)
downloadtcl-7a6d97a527bd8148991a5a5da76fb6f75abd687e.zip
tcl-7a6d97a527bd8148991a5a5da76fb6f75abd687e.tar.gz
tcl-7a6d97a527bd8148991a5a5da76fb6f75abd687e.tar.bz2
fix windows build broken by [92cfbef048]
(Refactor Win socket and load code to be less baroque in its internals)
-rw-r--r--win/tclWinLoad.c2
-rw-r--r--win/tclWinSock.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinLoad.c b/win/tclWinLoad.c
index 5848daa..e5b927d 100644
--- a/win/tclWinLoad.c
+++ b/win/tclWinLoad.c
@@ -28,7 +28,7 @@ static Tcl_Mutex dllDirectoryNameMutex;
static void * FindSymbol(Tcl_Interp *interp,
Tcl_LoadHandle loadHandle, const char *symbol);
-static void InitDLLDirectoryName(void);
+static int InitDLLDirectoryName(void);
static void UnloadFile(Tcl_LoadHandle loadHandle);
/*
diff --git a/win/tclWinSock.c b/win/tclWinSock.c
index 2f14c17..7181701 100644
--- a/win/tclWinSock.c
+++ b/win/tclWinSock.c
@@ -1411,7 +1411,7 @@ Tcl_OpenTcpClient(
Tcl_Close(NULL, infoPtr->channel);
return NULL;
}
- return infoPtr->channel
+ return infoPtr->channel;
}
/*