summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/ldb/ldb_tdb/ldb_index.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/lib/ldb/ldb_tdb/ldb_index.c b/source4/lib/ldb/ldb_tdb/ldb_index.c
index 8a26e2d197..e23ae1e7dd 100644
--- a/source4/lib/ldb/ldb_tdb/ldb_index.c
+++ b/source4/lib/ldb/ldb_tdb/ldb_index.c
@@ -177,6 +177,9 @@ static int ltdb_index_dn_simple(struct ldb_context *ldb,
return 1;
}
+
+static int list_union(struct ldb_context *, struct dn_list *, const struct dn_list *);
+
/*
return a list of dn's that might match a simple indexed search on
the special objectclass attribute
@@ -190,8 +193,6 @@ static int ltdb_index_dn_objectclass(struct ldb_context *ldb,
unsigned int i;
int ret;
const char *target = tree->u.simple.value.data;
- static int list_union(struct ldb_context *,
- struct dn_list *, const struct dn_list *);
list->count = 0;
list->dn = NULL;