summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>2000-04-25 17:56:03 (GMT)
committerhobbs <hobbs@noemail.net>2000-04-25 17:56:03 (GMT)
commitb21de48285d2830fcff4abe72c7d0d7c585d0adf (patch)
tree70fa56e5de1ab19895450a2f4d66a4830b421d22
parent876c2b106f4dbd75c03c09e0728fa46f8b875a17 (diff)
downloadtcl-b21de48285d2830fcff4abe72c7d0d7c585d0adf.zip
tcl-b21de48285d2830fcff4abe72c7d0d7c585d0adf.tar.gz
tcl-b21de48285d2830fcff4abe72c7d0d7c585d0adf.tar.bz2
* unix/tclUnixThrd.c: removed {}s around PTHREAD_MUTEX_INITIALIZER
[Bug: 5254] FossilOrigin-Name: aa8d40b8f16a649414345d9cda8887137a120e25
-rw-r--r--unix/tclUnixThrd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tclUnixThrd.c b/unix/tclUnixThrd.c
index 16e2315..2e8e8a4 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;
/*