summaryrefslogtreecommitdiff
path: root/source3/modules/xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/modules/xml.c')
-rw-r--r--source3/modules/xml.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/source3/modules/xml.c b/source3/modules/xml.c
index ead3e3a874..85b9e81b7f 100644
--- a/source3/modules/xml.c
+++ b/source3/modules/xml.c
@@ -564,12 +564,7 @@ NTSTATUS xmlsam_init(PDB_CONTEXT * pdb_context, PDB_METHODS ** pdb_method,
return NT_STATUS_OK;
}
-int init_module(void);
-
-int init_module()
+int pdb_xml_init(void)
{
- if(smb_register_passdb("xml", xmlsam_init, PASSDB_INTERFACE_VERSION))
- return 0;
-
- return 1;
+ return smb_register_passdb("xml", xmlsam_init, PASSDB_INTERFACE_VERSION);
}