From: Hallvard Furuseth Date: Sun, 11 Sep 2011 09:08:40 +0000 (+0200) Subject: Restore missing LAZY_LOCKS semicolon. X-Git-Tag: OPENLDAP_REL_ENG_2_4_27~148^2~42^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ed0fc55fd39b50b19b5c7cf30d41811b180f1ae5;p=openldap Restore missing LAZY_LOCKS semicolon. Lost in C90 compat commit c5dad7a6d0eb1b3597beda18b38fe92820df0d30. --- diff --git a/libraries/libmdb/mdb.c b/libraries/libmdb/mdb.c index db4db98116..a101a7af9a 100644 --- a/libraries/libmdb/mdb.c +++ b/libraries/libmdb/mdb.c @@ -292,7 +292,7 @@ typedef ID txnid_t; #define LAZY_RWLOCK_UNLOCK(x) pthread_rwlock_unlock(x) #define LAZY_RWLOCK_WRLOCK(x) pthread_rwlock_wrlock(x) #define LAZY_RWLOCK_RDLOCK(x) pthread_rwlock_rdlock(x) -#define LAZY_RWLOCK_DEF(x) pthread_rwlock_t x +#define LAZY_RWLOCK_DEF(x) pthread_rwlock_t x; #define LAZY_RWLOCK_INIT(x,y) pthread_rwlock_init(x,y) #define LAZY_RWLOCK_DESTROY(x) pthread_rwlock_destroy(x) #endif