diff options
author | Günther Deschner <gd@samba.org> | 2011-11-14 16:29:57 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-11-14 18:44:41 +0100 |
commit | e80e218152ec59f454007116a36a3d1f65ad030a (patch) | |
tree | b854ff302dbb305ec9c37925ebe4f853b604e844 | |
parent | f0117237fa7446bfd0ff8dbcba4e6625f44a397a (diff) | |
download | samba-e80e218152ec59f454007116a36a3d1f65ad030a.tar.gz samba-e80e218152ec59f454007116a36a3d1f65ad030a.tar.bz2 samba-e80e218152ec59f454007116a36a3d1f65ad030a.zip |
s3-modules: remove the last "init_module" traces.
Guenther
-rw-r--r-- | examples/auth/auth_skel.c | 5 | ||||
-rw-r--r-- | examples/pdb/test.c | 6 | ||||
-rw-r--r-- | source3/winbindd/idmap_ad.c | 2 | ||||
-rw-r--r-- | source3/winbindd/idmap_adex/idmap_adex.c | 2 |
4 files changed, 7 insertions, 8 deletions
diff --git a/examples/auth/auth_skel.c b/examples/auth/auth_skel.c index 4352251f4a..3f3379f0e9 100644 --- a/examples/auth/auth_skel.c +++ b/examples/auth/auth_skel.c @@ -42,7 +42,7 @@ static NTSTATUS check_skel_security(const struct auth_context *auth_context, } /* module initialisation */ -NTSTATUS auth_init_skel(struct auth_context *auth_context, const char *param, auth_methods **auth_method) +static NTSTATUS auth_init_skel(struct auth_context *auth_context, const char *param, auth_methods **auth_method) { struct auth_methods *result; @@ -67,7 +67,8 @@ NTSTATUS auth_init_skel(struct auth_context *auth_context, const char *param, au return NT_STATUS_OK; } -NTSTATUS init_module(void) +NTSTATUS auth_skel_init(void); +NTSTATUS auth_skel_init(void) { return smb_register_auth(AUTH_INTERFACE_VERSION, "skel", auth_init_skel); } diff --git a/examples/pdb/test.c b/examples/pdb/test.c index fb7806f951..5780130f3d 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); } diff --git a/source3/winbindd/idmap_ad.c b/source3/winbindd/idmap_ad.c index ab44f89355..83ed03b6e7 100644 --- a/source3/winbindd/idmap_ad.c +++ b/source3/winbindd/idmap_ad.c @@ -56,8 +56,6 @@ struct idmap_ad_context { enum wb_posix_mapping ad_map_type; /* WB_POSIX_MAP_UNKNOWN */ }; -NTSTATUS init_module(void); - /************************************************************************ ***********************************************************************/ diff --git a/source3/winbindd/idmap_adex/idmap_adex.c b/source3/winbindd/idmap_adex/idmap_adex.c index 3ddd71624a..e2747849a4 100644 --- a/source3/winbindd/idmap_adex/idmap_adex.c +++ b/source3/winbindd/idmap_adex/idmap_adex.c @@ -30,8 +30,6 @@ #define WINBIND_CCACHE_NAME "MEMORY:winbind_ccache" -NTSTATUS init_module(void); - /* * IdMap backend */ |