summaryrefslogtreecommitdiffstats
path: root/win/tclWinSock.c
diff options
context:
space:
mode:
authorlfb <lfb>1998-12-12 01:36:53 (GMT)
committerlfb <lfb>1998-12-12 01:36:53 (GMT)
commit37105aacb73238854bc8d7d8de7ce3050831ea6a (patch)
tree1ca1b8a4b80123db5269ab4e43b2d7118af1d6ab /win/tclWinSock.c
parent13ad37616211a5be8dbe22e63a25d058f58842e0 (diff)
downloadtcl-37105aacb73238854bc8d7d8de7ce3050831ea6a.zip
tcl-37105aacb73238854bc8d7d8de7ce3050831ea6a.tar.gz
tcl-37105aacb73238854bc8d7d8de7ce3050831ea6a.tar.bz2
Minor change to Lock Declarations to use TCL_DECLARE_MUTEX macro,
published in tcl.h.
Diffstat (limited to 'win/tclWinSock.c')
-rw-r--r--win/tclWinSock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinSock.c b/win/tclWinSock.c
index 1e4b595..303dcb2 100644
--- a/win/tclWinSock.c
+++ b/win/tclWinSock.c
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclWinSock.c,v 1.1.2.3 1998/12/04 01:19:36 stanton Exp $
+ * RCS: @(#) $Id: tclWinSock.c,v 1.1.2.4 1998/12/12 01:37:06 lfb Exp $
*/
#include "tclWinInt.h"
@@ -23,7 +23,7 @@ static int initialized = 0;
static int hostnameInitialized = 0;
static char hostname[255]; /* This buffer should be big enough for
* hostname plus domain name. */
-static Tcl_Mutex socketMutex;
+TCL_DECLARE_MUTEX(socketMutex)
/*
* The following structure contains pointers to all of the WinSock API entry