summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixThrd.c
diff options
context:
space:
mode:
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;
/*