]> git.sur5r.net Git - openldap/commitdiff
clean up LDBM_{,UN}LOCK macros
authorKurt Zeilenga <kurt@openldap.org>
Thu, 31 May 2001 20:11:40 +0000 (20:11 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 31 May 2001 20:11:40 +0000 (20:11 +0000)
libraries/libldbm/ldbm.c

index 86134afb9dd4339bb7588d3a4bd8092ac19347aa..4b5f76f4fb1d47213435106264d5cb41b8c75cbf 100644 (file)
@@ -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))