git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f011723
)
s3-modules: remove the last "init_module" traces.
author
Günther Deschner
<gd@samba.org>
Mon, 14 Nov 2011 15:29:57 +0000
(16:29 +0100)
committer
Günther Deschner
<gd@samba.org>
Mon, 14 Nov 2011 17:44:41 +0000
(18:44 +0100)
Guenther
examples/auth/auth_skel.c
patch
|
blob
|
history
examples/pdb/test.c
patch
|
blob
|
history
source3/winbindd/idmap_ad.c
patch
|
blob
|
history
source3/winbindd/idmap_adex/idmap_adex.c
patch
|
blob
|
history
diff --git
a/examples/auth/auth_skel.c
b/examples/auth/auth_skel.c
index 4352251f4ad31bcbca01ac5bdd34a6b234e6ea35..3f3379f0e93f9744e5bb0bfcc2cd07463e7e922c 100644
(file)
--- 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 */
}
/* 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;
{
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;
}
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);
}
{
return smb_register_auth(AUTH_INTERFACE_VERSION, "skel", auth_init_skel);
}
diff --git
a/examples/pdb/test.c
b/examples/pdb/test.c
index fb7806f951a7e70d8a6db038d6ca3aca67d87bc5..5780130f3d8c9bab10c5af0a143f365dec9b1a98 100644
(file)
--- 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;
}
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;
{
NTSTATUS nt_status;
@@
-107,7
+107,9
@@
NTSTATUS testsam_init(struct pdb_methods **pdb_method, const char *location)
return NT_STATUS_OK;
}
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);
}
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 ab44f89355344100d0a772f904655bd509399ca2..83ed03b6e79098c11f3fe6d830351aa51f111f5f 100644
(file)
--- 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 */
};
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 3ddd71624a076214a7d25020d8d433a85decd01a..e2747849a4e94fb4ed23bfa7f9f75a5fdc7dbfd9 100644
(file)
--- 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"
#define WINBIND_CCACHE_NAME "MEMORY:winbind_ccache"
-NTSTATUS init_module(void);
-
/*
* IdMap backend
*/
/*
* IdMap backend
*/