From 3b99d9c5bd563203adc4b017d6e6599dd84b8d57 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 1 Jan 2006 17:32:10 +0000 Subject: r12658: Couple of fixes related to shared module builds. (This used to be commit c297c93faf3b748de68679f5a4be50845ebe25fe) --- source4/lib/ldb/modules/objectclass.c | 4 ---- source4/lib/ldb/modules/operational.c | 4 ---- source4/lib/ldb/modules/rdn_name.c | 4 ---- source4/lib/ldb/modules/schema.c | 4 ---- source4/lib/ldb/modules/skel.c | 4 ---- 5 files changed, 20 deletions(-) (limited to 'source4/lib/ldb') 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; -- cgit