From b8a1da95a2c29efb92c32ce2089628012233c41d Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 11 Jan 2010 22:14:15 +0000 Subject: [PATCH] dn2id_lock is no longer needed --- servers/slapd/back-bdb/dn2id.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/servers/slapd/back-bdb/dn2id.c b/servers/slapd/back-bdb/dn2id.c index 2d1748c328..7fd05d4507 100644 --- a/servers/slapd/back-bdb/dn2id.c +++ b/servers/slapd/back-bdb/dn2id.c @@ -23,6 +23,7 @@ #include "idl.h" #include "lutil.h" +#if 0 #define bdb_dn2id_lock BDB_SYMBOL(dn2id_lock) static int @@ -48,6 +49,9 @@ bdb_dn2id_lock( struct bdb_info *bdb, struct berval *dn, &lockobj, db_rw, lock); return rc; } +#else +#define bdb_dn2id_lock(a,b,c,d,e) 0 +#endif #ifndef BDB_HIER int -- 2.39.5