From: Kurt Zeilenga Date: Thu, 31 May 2001 20:11:40 +0000 (+0000) Subject: clean up LDBM_{,UN}LOCK macros X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1368 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fcf71ea34feae1bc5e66a32f8d164ac3a3e3b1fa;p=openldap clean up LDBM_{,UN}LOCK macros --- diff --git a/libraries/libldbm/ldbm.c b/libraries/libldbm/ldbm.c index 86134afb9d..4b5f76f4fb 100644 --- a/libraries/libldbm/ldbm.c +++ b/libraries/libldbm/ldbm.c @@ -61,8 +61,8 @@ ldbm_datum_dup( LDBM ldbm, Datum data ) static int ldbm_initialized = 0; #ifdef HAVE_BERKELEY_DB_THREAD -#define LDBM_LOCK (void) 0; -#define LDBM_UNLOCK (void) 0; +#define LDBM_LOCK ((void) 0) +#define LDBM_UNLOCK ((void) 0) #else static ldap_pvt_thread_mutex_t ldbm_big_mutex; #define LDBM_LOCK (ldap_pvt_thread_mutex_lock(&ldbm_big_mutex))