diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2004-09-26 22:19:48 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:59:19 -0500 |
commit | 8d811df12b7e535e6e44bac088a4724a8478c4b1 (patch) | |
tree | 086a108cb3bb54031a98fb7f24a73f51afd35aca /source4/lib | |
parent | 729d17c27013eae731a97ac8413135c93244bca6 (diff) | |
download | samba-8d811df12b7e535e6e44bac088a4724a8478c4b1.tar.gz samba-8d811df12b7e535e6e44bac088a4724a8478c4b1.tar.bz2 samba-8d811df12b7e535e6e44bac088a4724a8478c4b1.zip |
r2667: Remove forward declaration of static function from function. GCC 3.5 and 4.0 don't accept declarations of static functions inside other
functions, see http://gcc.gnu.org/ml/gcc-patches/2004-08/msg02514.html
(This used to be commit 8768168aadf51b9559831954e349d9aa94101c41)
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/ldb/ldb_tdb/ldb_index.c | 5 |
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; |