diff options
author | welch <welch> | 2000-04-11 01:04:25 (GMT) |
---|---|---|
committer | welch <welch> | 2000-04-11 01:04:25 (GMT) |
commit | 4e6c3f6a1d64a7586316c4c78bf4322877b8f075 (patch) | |
tree | c9bef1c6fdb2cd6ea22f7106e26d3d07dc090cbc /unix | |
parent | 4b9e527208cf58f3cd5f3d0e7d7b3b2afc435441 (diff) | |
download | tcl-4e6c3f6a1d64a7586316c4c78bf4322877b8f075.zip tcl-4e6c3f6a1d64a7586316c4c78bf4322877b8f075.tar.gz tcl-4e6c3f6a1d64a7586316c4c78bf4322877b8f075.tar.bz2 |
Fixed compiler warnings
Diffstat (limited to 'unix')
-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; /* |