diff options
author | ume <ume@FreeBSD.org> | 2005-04-06 15:16:04 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2005-04-06 15:16:04 +0000 |
commit | 26cc55077b9d660a9361d4f60788692cded25f18 (patch) | |
tree | da0b09268ffc084ecb8858b203d5568269c77214 /lib | |
parent | d14eecdbbc4cc3413049b37a91314fc5eec4aef3 (diff) | |
download | FreeBSD-src-26cc55077b9d660a9361d4f60788692cded25f18.zip FreeBSD-src-26cc55077b9d660a9361d4f60788692cded25f18.tar.gz |
MUTEX_INITIALIZER should be used instead of
PTHREAD_MUTEX_INITIALIZER, here.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/yp/yplib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/yp/yplib.c b/lib/libc/yp/yplib.c index 3ba6b3f..2b87d30 100644 --- a/lib/libc/yp/yplib.c +++ b/lib/libc/yp/yplib.c @@ -105,7 +105,7 @@ struct dom_binding *_ypbindlist; static char _yp_domain[MAXHOSTNAMELEN]; int _yplib_timeout = 10; -static mutex_t _ypmutex = PTHREAD_MUTEX_INITIALIZER; +static mutex_t _ypmutex = MUTEX_INITIALIZER; #define YPLOCK() mutex_lock(&_ypmutex); #define YPUNLOCK() mutex_unlock(&_ypmutex); |