summaryrefslogtreecommitdiff
path: root/source4/dsdb
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/dsdb
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/dsdb')
-rw-r--r--source4/dsdb/samdb/ldb_modules/objectguid.c4
-rw-r--r--source4/dsdb/samdb/ldb_modules/password_hash.c4
-rw-r--r--source4/dsdb/samdb/ldb_modules/proxy.c4
-rw-r--r--source4/dsdb/samdb/ldb_modules/rootdse.c4
-rw-r--r--source4/dsdb/samdb/ldb_modules/samba3sam.c4
-rw-r--r--source4/dsdb/samdb/ldb_modules/samldb.c4
6 files changed, 0 insertions, 24 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/objectguid.c b/source4/dsdb/samdb/ldb_modules/objectguid.c
index 0d5ae69219..c9063af6ef 100644
--- a/source4/dsdb/samdb/ldb_modules/objectguid.c
+++ b/source4/dsdb/samdb/ldb_modules/objectguid.c
@@ -128,11 +128,7 @@ static const struct ldb_module_ops objectguid_ops = {
/* the init function */
-#ifdef HAVE_DLOPEN_DISABLED
- struct ldb_module *init_module(struct ldb_context *ldb, const char *options[])
-#else
struct ldb_module *objectguid_module_init(struct ldb_context *ldb, const char *options[])
-#endif
{
struct ldb_module *ctx;
diff --git a/source4/dsdb/samdb/ldb_modules/password_hash.c b/source4/dsdb/samdb/ldb_modules/password_hash.c
index bb42a0e634..212c9c91d1 100644
--- a/source4/dsdb/samdb/ldb_modules/password_hash.c
+++ b/source4/dsdb/samdb/ldb_modules/password_hash.c
@@ -690,11 +690,7 @@ static const struct ldb_module_ops password_hash_ops = {
/* the init function */
-#ifdef HAVE_DLOPEN_DISABLED
- struct ldb_module *init_module(struct ldb_context *ldb, const char *options[])
-#else
struct ldb_module *password_hash_module_init(struct ldb_context *ldb, const char *options[])
-#endif
{
struct ldb_module *ctx;
diff --git a/source4/dsdb/samdb/ldb_modules/proxy.c b/source4/dsdb/samdb/ldb_modules/proxy.c
index fc1b896be4..cbe404fc4b 100644
--- a/source4/dsdb/samdb/ldb_modules/proxy.c
+++ b/source4/dsdb/samdb/ldb_modules/proxy.c
@@ -332,11 +332,7 @@ static const struct ldb_module_ops proxy_ops = {
.request = proxy_request
};
-#ifdef HAVE_DLOPEN_DISABLED
-struct ldb_module *init_module(struct ldb_context *ldb, const char *options[])
-#else
struct ldb_module *proxy_module_init(struct ldb_context *ldb, const char *options[])
-#endif
{
struct ldb_module *ctx;
diff --git a/source4/dsdb/samdb/ldb_modules/rootdse.c b/source4/dsdb/samdb/ldb_modules/rootdse.c
index 4032aee8b2..a421199038 100644
--- a/source4/dsdb/samdb/ldb_modules/rootdse.c
+++ b/source4/dsdb/samdb/ldb_modules/rootdse.c
@@ -126,11 +126,7 @@ static const struct ldb_module_ops rootdse_ops = {
.request = rootdse_request
};
-#ifdef HAVE_DLOPEN_DISABLED
-struct ldb_module *init_module(struct ldb_context *ldb, const char *options[])
-#else
struct ldb_module *rootdse_module_init(struct ldb_context *ldb, const char *options[])
-#endif
{
struct ldb_module *ctx;
diff --git a/source4/dsdb/samdb/ldb_modules/samba3sam.c b/source4/dsdb/samdb/ldb_modules/samba3sam.c
index f2c4441f97..7686d9b3ec 100644
--- a/source4/dsdb/samdb/ldb_modules/samba3sam.c
+++ b/source4/dsdb/samdb/ldb_modules/samba3sam.c
@@ -891,11 +891,7 @@ const struct ldb_map_attribute samba3_attributes[] =
};
/* the init function */
-#ifdef HAVE_DLOPEN_DISABLED
-struct ldb_module *init_module(struct ldb_context *ldb, const char *options[])
-#else
struct ldb_module *ldb_samba3sam_module_init(struct ldb_context *ldb, const char *options[])
-#endif
{
return ldb_map_init(ldb, samba3_attributes, samba3_objectclasses, "samba3sam");
}
diff --git a/source4/dsdb/samdb/ldb_modules/samldb.c b/source4/dsdb/samdb/ldb_modules/samldb.c
index 50ad2db38a..7bf25994e2 100644
--- a/source4/dsdb/samdb/ldb_modules/samldb.c
+++ b/source4/dsdb/samdb/ldb_modules/samldb.c
@@ -583,11 +583,7 @@ static const struct ldb_module_ops samldb_ops = {
/* the init function */
-#ifdef HAVE_DLOPEN_DISABLED
- struct ldb_module *init_module(struct ldb_context *ldb, const char *options[])
-#else
struct ldb_module *samldb_module_init(struct ldb_context *ldb, const char *options[])
-#endif
{
struct ldb_module *ctx;