summaryrefslogtreecommitdiffstats
path: root/generic/tclEvent.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/tclEvent.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/tclEvent.c')
-rw-r--r--generic/tclEvent.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tclEvent.c b/generic/tclEvent.c
index 20935a9..6c170bd 100644
--- a/generic/tclEvent.c
+++ b/generic/tclEvent.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclEvent.c,v 1.1.2.3 1998/10/06 00:36:19 stanton Exp $
+ * RCS: @(#) $Id: tclEvent.c,v 1.1.2.4 1998/11/11 04:54:13 stanton Exp $
*/
#include "tclInt.h"
@@ -76,7 +76,9 @@ typedef struct ExitHandler {
static ExitHandler *firstExitPtr = NULL;
/* First in list of all exit handlers for
* application. */
+#ifdef TCL_THREAD
static Tcl_Mutex exitMutex;
+#endif
/*
* This variable is set to 1 when Tcl_Finalize is called, and at the end of