diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-01-01 17:32:10 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:49:35 -0500 |
commit | 3b99d9c5bd563203adc4b017d6e6599dd84b8d57 (patch) | |
tree | 3f1e2dd5ec545d83510eab0e6e6a2a64d8f6f32b /source4 | |
parent | 912f556dbaa13598eb378d5bf0919235e552de48 (diff) | |
download | samba-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')
-rw-r--r-- | source4/build/smb_build/smb_build_h.pm | 4 | ||||
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/objectguid.c | 4 | ||||
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/password_hash.c | 4 | ||||
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/proxy.c | 4 | ||||
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/rootdse.c | 4 | ||||
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/samba3sam.c | 4 | ||||
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/samldb.c | 4 | ||||
-rw-r--r-- | source4/lib/ldb/modules/objectclass.c | 4 | ||||
-rw-r--r-- | source4/lib/ldb/modules/operational.c | 4 | ||||
-rw-r--r-- | source4/lib/ldb/modules/rdn_name.c | 4 | ||||
-rw-r--r-- | source4/lib/ldb/modules/schema.c | 4 | ||||
-rw-r--r-- | source4/lib/ldb/modules/skel.c | 4 |
12 files changed, 1 insertions, 47 deletions
diff --git a/source4/build/smb_build/smb_build_h.pm b/source4/build/smb_build/smb_build_h.pm index 52fe0da6da..998e1a5990 100644 --- a/source4/build/smb_build/smb_build_h.pm +++ b/source4/build/smb_build/smb_build_h.pm @@ -54,13 +54,11 @@ sub _prepare_smb_build_h($) my $name = $key->{NAME}; next if not defined($key->{INIT_FUNCTION}); - my $func = join(' ', @{$key->{INIT_FUNCTION}}); - next if $func eq ""; my $DEFINE = (); $DEFINE->{COMMENT} = "$name is built shared"; - $DEFINE->{KEY} = $func; + $DEFINE->{KEY} = $key->{INIT_FUNCTION}; $DEFINE->{VAL} = "init_module"; push(@defines,$DEFINE); 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; 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; |