summaryrefslogtreecommitdiff
path: root/examples/pdb
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-11-14 16:29:57 +0100
committerGünther Deschner <gd@samba.org>2011-11-14 18:44:41 +0100
commite80e218152ec59f454007116a36a3d1f65ad030a (patch)
treeb854ff302dbb305ec9c37925ebe4f853b604e844 /examples/pdb
parentf0117237fa7446bfd0ff8dbcba4e6625f44a397a (diff)
downloadsamba-e80e218152ec59f454007116a36a3d1f65ad030a.tar.gz
s3-modules: remove the last "init_module" traces.
Guenther
Diffstat (limited to 'examples/pdb')
-rw-r--r--examples/pdb/test.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/pdb/test.c b/examples/pdb/test.c
index fb7806f951a..5780130f3d8 100644
--- a/examples/pdb/test.c
+++ b/examples/pdb/test.c
@@ -75,7 +75,7 @@ static NTSTATUS testsam_add_sam_account (struct pdb_methods *methods, struct sam
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS testsam_init(struct pdb_methods **pdb_method, const char *location)
+static NTSTATUS testsam_init(struct pdb_methods **pdb_method, const char *location)
{
NTSTATUS nt_status;
@@ -107,7 +107,9 @@ NTSTATUS testsam_init(struct pdb_methods **pdb_method, const char *location)
return NT_STATUS_OK;
}
-NTSTATUS init_module(void) {
+NTSTATUS pdb_testsam_init(void);
+NTSTATUS pdb_testsam_init(void)
+{
return smb_register_passdb(PASSDB_INTERFACE_VERSION, "testsam",
testsam_init);
}