diff options
author | lfb <lfb> | 1998-12-12 01:36:53 (GMT) |
---|---|---|
committer | lfb <lfb> | 1998-12-12 01:36:53 (GMT) |
commit | 37105aacb73238854bc8d7d8de7ce3050831ea6a (patch) | |
tree | 1ca1b8a4b80123db5269ab4e43b2d7118af1d6ab /generic/tclInterp.c | |
parent | 13ad37616211a5be8dbe22e63a25d058f58842e0 (diff) | |
download | tcl-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 'generic/tclInterp.c')
-rw-r--r-- | generic/tclInterp.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/generic/tclInterp.c b/generic/tclInterp.c index 67d50c6..5e663a8 100644 --- a/generic/tclInterp.c +++ b/generic/tclInterp.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclInterp.c,v 1.1.2.6 1998/12/10 21:57:47 stanton Exp $ + * RCS: @(#) $Id: tclInterp.c,v 1.1.2.7 1998/12/12 01:36:59 lfb Exp $ */ #include <stdio.h> @@ -21,9 +21,7 @@ */ static int aliasCounter = 0; -#ifdef TCL_THREADS -static Tcl_Mutex cntMutex; -#endif +TCL_DECLARE_MUTEX(cntMutex) /* * struct Alias: |