summaryrefslogtreecommitdiff
path: root/source3/winbindd/idmap_ad.c
diff options
context:
space:
mode:
authorChristof Schmitt <cs@samba.org>2014-04-01 15:45:38 -0700
committerJeremy Allison <jra@samba.org>2014-04-02 08:50:03 +0200
commit7f2d12c4c0c03a4a3b0262845968348697287033 (patch)
tree5627d3cdc4eb7a7088ba7c96821a144b58cd45a9 /source3/winbindd/idmap_ad.c
parent014342746f5af1aaaf1c2f8b44098c3a944e4f0a (diff)
downloadsamba-7f2d12c4c0c03a4a3b0262845968348697287033.tar.gz
Rename module init functions from samba_init_module
Some modules use samba_init_module as the name for the init functions, others use a name based on the module name. Rename the init functions from samba_init_module, to be consistent across all modules. This change also allows to build idmap_tdb2 and perfcount_test statically. Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Apr 2 08:50:04 CEST 2014 on sn-devel-104
Diffstat (limited to 'source3/winbindd/idmap_ad.c')
-rw-r--r--source3/winbindd/idmap_ad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/idmap_ad.c b/source3/winbindd/idmap_ad.c
index 8b63801906b..047511f294d 100644
--- a/source3/winbindd/idmap_ad.c
+++ b/source3/winbindd/idmap_ad.c
@@ -962,7 +962,7 @@ static struct nss_info_methods nss_sfu20_methods = {
Initialize the plugins
***********************************************************************/
-NTSTATUS samba_init_module(void)
+NTSTATUS idmap_ad_init(void)
{
static NTSTATUS status_idmap_ad = NT_STATUS_UNSUCCESSFUL;
static NTSTATUS status_nss_rfc2307 = NT_STATUS_UNSUCCESSFUL;