summaryrefslogtreecommitdiffstats
path: root/generic/tclPipe.c
diff options
context:
space:
mode:
authorstanton <stanton>1998-11-11 04:54:06 (GMT)
committerstanton <stanton>1998-11-11 04:54:06 (GMT)
commitc0fd219230e4295c44743ad165a0d5a1c980b7dc (patch)
treeecdef91e34f72a712092b469a2a5ff861db47fb7 /generic/tclPipe.c
parent131c68d85079ca5a553b28fef489cf29b79f1176 (diff)
downloadtcl-c0fd219230e4295c44743ad165a0d5a1c980b7dc.zip
tcl-c0fd219230e4295c44743ad165a0d5a1c980b7dc.tar.gz
tcl-c0fd219230e4295c44743ad165a0d5a1c980b7dc.tar.bz2
lots of lint
wrapped mutex declarations in ifdefs to avoid compiler warnings
Diffstat (limited to 'generic/tclPipe.c')
-rw-r--r--generic/tclPipe.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tclPipe.c b/generic/tclPipe.c
index 2ad8a45..d8550df 100644
--- a/generic/tclPipe.c
+++ b/generic/tclPipe.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclPipe.c,v 1.1.2.2 1998/09/24 23:59:00 stanton Exp $
+ * RCS: @(#) $Id: tclPipe.c,v 1.1.2.3 1998/11/11 04:54:18 stanton Exp $
*/
#include "tclInt.h"
@@ -32,7 +32,9 @@ typedef struct Detached {
} Detached;
static Detached *detList = NULL; /* List of all detached proceses. */
+#ifdef TCL_THREAD
static Tcl_Mutex pipeMutex; /* Guard access to detList. */
+#endif
/*
* Declarations for local procedures defined in this file: