summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/common
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-04-14 11:54:50 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-04-14 11:54:50 +0200
commitf78bc8c489b02b521e9ecbdbdc72d160c6911b6b (patch)
treeb2704525b5bb213190dd67f70362b2b775b639f0 /source4/lib/ldb/common
parent60a6682c855cbe5094433881649e7ed4945a06e7 (diff)
downloadsamba-f78bc8c489b02b521e9ecbdbdc72d160c6911b6b.tar.gz
samba-f78bc8c489b02b521e9ecbdbdc72d160c6911b6b.tar.bz2
samba-f78bc8c489b02b521e9ecbdbdc72d160c6911b6b.zip
Remove prototypes from build.h in preparation of removing build.h
altogether. (This used to be commit dbeab2a9cdee4e5f69afeb2603ba29cbed56debd)
Diffstat (limited to 'source4/lib/ldb/common')
-rw-r--r--source4/lib/ldb/common/ldb_modules.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/source4/lib/ldb/common/ldb_modules.c b/source4/lib/ldb/common/ldb_modules.c
index 34e0afbf93..eece9af5f7 100644
--- a/source4/lib/ldb/common/ldb_modules.c
+++ b/source4/lib/ldb/common/ldb_modules.c
@@ -126,14 +126,16 @@ static struct ops_list_entry {
struct ops_list_entry *next;
} *registered_modules = NULL;
+#define LDB_MODULE(name) (&ldb_ ## name ## _module_ops)
+
#ifndef STATIC_LIBLDB_MODULES
#define STATIC_LIBLDB_MODULES \
- &ldb_operational_module_ops, \
- &ldb_rdn_name_module_ops, \
- &ldb_paged_results_module_ops, \
- &ldb_server_sort_module_ops, \
- &ldb_asq_module_ops, \
+ LDB_MODULE(operational), \
+ LDB_MODULE(rdn_name), \
+ LDB_MODULE(paged_results), \
+ LDB_MODULE(server_sort), \
+ LDB_MODULE(asq), \
NULL
#endif