diff options
author | welch <welch@noemail.net> | 2000-04-11 01:04:24 (GMT) |
---|---|---|
committer | welch <welch@noemail.net> | 2000-04-11 01:04:24 (GMT) |
commit | 13b0a953cab6d2a03a66495d2ae4c118b0c4835f (patch) | |
tree | c9bef1c6fdb2cd6ea22f7106e26d3d07dc090cbc | |
parent | 267656e6b610bfa4629462cde99e736ba0076095 (diff) | |
download | tcl-13b0a953cab6d2a03a66495d2ae4c118b0c4835f.zip tcl-13b0a953cab6d2a03a66495d2ae4c118b0c4835f.tar.gz tcl-13b0a953cab6d2a03a66495d2ae4c118b0c4835f.tar.bz2 |
Fixed compiler warnings
FossilOrigin-Name: 7f42a656b65b2754b0cb13def2e9f8294b5e93e1
-rw-r--r-- | unix/tclUnixThrd.c | 6 |
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; /* |