From ed0fc55fd39b50b19b5c7cf30d41811b180f1ae5 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Sun, 11 Sep 2011 11:08:40 +0200 Subject: [PATCH] Restore missing LAZY_LOCKS semicolon. Lost in C90 compat commit c5dad7a6d0eb1b3597beda18b38fe92820df0d30. --- libraries/libmdb/mdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5