From 4e6c3f6a1d64a7586316c4c78bf4322877b8f075 Mon Sep 17 00:00:00 2001 From: welch Date: Tue, 11 Apr 2000 01:04:25 +0000 Subject: Fixed compiler warnings --- unix/tclUnixThrd.c | 6 +++--- 1 file 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; /* -- cgit v0.12