summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/modules
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-01-01 17:32:10 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:49:35 -0500
commit3b99d9c5bd563203adc4b017d6e6599dd84b8d57 (patch)
tree3f1e2dd5ec545d83510eab0e6e6a2a64d8f6f32b /source4/lib/ldb/modules
parent912f556dbaa13598eb378d5bf0919235e552de48 (diff)
downloadsamba-3b99d9c5bd563203adc4b017d6e6599dd84b8d57.tar.gz
samba-3b99d9c5bd563203adc4b017d6e6599dd84b8d57.tar.bz2
samba-3b99d9c5bd563203adc4b017d6e6599dd84b8d57.zip
r12658: Couple of fixes related to shared module builds.
(This used to be commit c297c93faf3b748de68679f5a4be50845ebe25fe)
Diffstat (limited to 'source4/lib/ldb/modules')
-rw-r--r--source4/lib/ldb/modules/objectclass.c4
-rw-r--r--source4/lib/ldb/modules/operational.c4
-rw-r--r--source4/lib/ldb/modules/rdn_name.c4
-rw-r--r--source4/lib/ldb/modules/schema.c4
-rw-r--r--source4/lib/ldb/modules/skel.c4
5 files changed, 0 insertions, 20 deletions
diff --git a/source4/lib/ldb/modules/objectclass.c b/source4/lib/ldb/modules/objectclass.c
index b89b70ebf2..0ded686d56 100644
--- a/source4/lib/ldb/modules/objectclass.c
+++ b/source4/lib/ldb/modules/objectclass.c
@@ -291,11 +291,7 @@ static const struct ldb_module_ops objectclass_ops = {
.request = objectclass_request,
};
-#ifdef HAVE_DLOPEN_DISABLED
-struct ldb_module *init_module(struct ldb_context *ldb, const char *options[])
-#else
struct ldb_module *objectclass_module_init(struct ldb_context *ldb, const char *options[])
-#endif
{
struct ldb_module *ctx;
diff --git a/source4/lib/ldb/modules/operational.c b/source4/lib/ldb/modules/operational.c
index d98dfe1266..65d9f12e34 100644
--- a/source4/lib/ldb/modules/operational.c
+++ b/source4/lib/ldb/modules/operational.c
@@ -368,11 +368,7 @@ static const struct ldb_module_ops operational_ops = {
/* the init function */
-#ifdef HAVE_DLOPEN_DISABLED
- struct ldb_module *init_module(struct ldb_context *ldb, const char *options[])
-#else
struct ldb_module *operational_module_init(struct ldb_context *ldb, const char *options[])
-#endif
{
struct ldb_module *ctx;
diff --git a/source4/lib/ldb/modules/rdn_name.c b/source4/lib/ldb/modules/rdn_name.c
index 42faf6629c..f35cff916c 100644
--- a/source4/lib/ldb/modules/rdn_name.c
+++ b/source4/lib/ldb/modules/rdn_name.c
@@ -214,11 +214,7 @@ static const struct ldb_module_ops rdn_name_ops = {
/* the init function */
-#ifdef HAVE_DLOPEN_DISABLED
- struct ldb_module *init_module(struct ldb_context *ldb, const char *options[])
-#else
struct ldb_module *rdn_name_module_init(struct ldb_context *ldb, const char *options[])
-#endif
{
struct ldb_module *ctx;
diff --git a/source4/lib/ldb/modules/schema.c b/source4/lib/ldb/modules/schema.c
index fd96a6cfba..9fb2efee30 100644
--- a/source4/lib/ldb/modules/schema.c
+++ b/source4/lib/ldb/modules/schema.c
@@ -484,11 +484,7 @@ static const struct ldb_module_ops schema_ops = {
.request = schema_request
};
-#ifdef HAVE_DLOPEN_DISABLED
-struct ldb_module *init_module(struct ldb_context *ldb, const char *options[])
-#else
struct ldb_module *schema_module_init(struct ldb_context *ldb, const char *options[])
-#endif
{
struct ldb_module *ctx;
diff --git a/source4/lib/ldb/modules/skel.c b/source4/lib/ldb/modules/skel.c
index a3dcfc21bb..fcec0f3fd8 100644
--- a/source4/lib/ldb/modules/skel.c
+++ b/source4/lib/ldb/modules/skel.c
@@ -140,11 +140,7 @@ static const struct ldb_module_ops skel_ops = {
.del_transaction = skel_del_trans,
};
-#ifdef HAVE_DLOPEN_DISABLED
-struct ldb_module *init_module(struct ldb_context *ldb, const char *options[])
-#else
struct ldb_module *skel_module_init(struct ldb_context *ldb, const char *options[])
-#endif
{
struct ldb_module *ctx;
struct private_data *data;