From af6316d1500cfcedd5fd59ed0ddbba9aec9c3756 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 23 Apr 2009 18:59:37 +0200 Subject: Provide a ldb_global_init() function for compatibility with older versions of LDB (including the one in Samba 3). --- source4/lib/ldb/common/ldb.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source4/lib/ldb/common/ldb.c b/source4/lib/ldb/common/ldb.c index 86ce2069a5..64ad6832db 100644 --- a/source4/lib/ldb/common/ldb.c +++ b/source4/lib/ldb/common/ldb.c @@ -1430,3 +1430,9 @@ void *ldb_get_opaque(struct ldb_context *ldb, const char *name) } return NULL; } + +int ldb_global_init(void) +{ + /* Provided for compatibility with some older versions of ldb */ + return 0; +} -- cgit