summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixThrd.c
diff options
context:
space:
mode:
authorwelch <welch>2000-04-11 01:04:25 (GMT)
committerwelch <welch>2000-04-11 01:04:25 (GMT)
commit4e6c3f6a1d64a7586316c4c78bf4322877b8f075 (patch)
treec9bef1c6fdb2cd6ea22f7106e26d3d07dc090cbc /unix/tclUnixThrd.c
parent4b9e527208cf58f3cd5f3d0e7d7b3b2afc435441 (diff)
downloadtcl-4e6c3f6a1d64a7586316c4c78bf4322877b8f075.zip
tcl-4e6c3f6a1d64a7586316c4c78bf4322877b8f075.tar.gz
tcl-4e6c3f6a1d64a7586316c4c78bf4322877b8f075.tar.bz2
Fixed compiler warnings
Diffstat (limited to 'unix/tclUnixThrd.c')
-rw-r--r--unix/tclUnixThrd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tclUnixThrd.c b/unix/tclUnixThrd.c
index fb6e8cb..f4a5dca 100644
--- a/unix/tclUnixThrd.c
+++ b/unix/tclUnixThrd.c
@@ -26,21 +26,21 @@
* initialize the mutex.
*/
-static pthread_mutex_t masterLock = PTHREAD_MUTEX_INITIALIZER;
+static pthread_mutex_t masterLock = {PTHREAD_MUTEX_INITIALIZER};
/*
* initLock is used to serialize initialization and finalization
* of Tcl. It cannot use any dyamically allocated storage.
*/
-static pthread_mutex_t initLock = PTHREAD_MUTEX_INITIALIZER;
+static pthread_mutex_t initLock = {PTHREAD_MUTEX_INITIALIZER};
/*
* allocLock is used by Tcl's version of malloc for synchronization.
* For obvious reasons, cannot use any dyamically allocated storage.
*/
-static pthread_mutex_t allocLock = PTHREAD_MUTEX_INITIALIZER;
+static pthread_mutex_t allocLock = {PTHREAD_MUTEX_INITIALIZER};
static pthread_mutex_t *allocLockPtr = &allocLock;
/*