summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-10-25 07:43:06 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-10-28 13:10:28 +0200
commit1b7cc4ac7c793d4c1829d842c84273ef2d081fdb (patch)
treea4a55a7a41621f9927c7c842cc5b37dbf53b3bbf /source4/torture
parent87354c9a6de95d5dcebace77a35fc21a73d599ab (diff)
downloadsamba-1b7cc4ac7c793d4c1829d842c84273ef2d081fdb.tar.gz
samba-1b7cc4ac7c793d4c1829d842c84273ef2d081fdb.tar.bz2
samba-1b7cc4ac7c793d4c1829d842c84273ef2d081fdb.zip
lib/util Rename samba_init_module_fn -> samba_module_init_fn
This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/smbtorture.c2
-rw-r--r--source4/torture/torture.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/smbtorture.c b/source4/torture/smbtorture.c
index 9620605174..8122c14964 100644
--- a/source4/torture/smbtorture.c
+++ b/source4/torture/smbtorture.c
@@ -602,7 +602,7 @@ int main(int argc,char *argv[])
}
if (extra_module != NULL) {
- samba_init_module_fn fn = load_module(poptGetOptArg(pc), false, NULL);
+ samba_module_init_fn fn = load_module(poptGetOptArg(pc), false, NULL);
if (fn == NULL)
d_printf("Unable to load module from %s\n", poptGetOptArg(pc));
diff --git a/source4/torture/torture.c b/source4/torture/torture.c
index e270818dce..fafc79a36f 100644
--- a/source4/torture/torture.c
+++ b/source4/torture/torture.c
@@ -48,8 +48,8 @@ _PUBLIC_ int torture_init(void)
{
#define _MODULE_PROTO(init) extern NTSTATUS init(void);
STATIC_smbtorture_MODULES_PROTO;
- samba_init_module_fn static_init[] = { STATIC_smbtorture_MODULES };
- samba_init_module_fn *shared_init = samba_modules_load(NULL, "smbtorture");
+ samba_module_init_fn static_init[] = { STATIC_smbtorture_MODULES };
+ samba_module_init_fn *shared_init = samba_modules_load(NULL, "smbtorture");
samba_init_module_fns_run(static_init);
samba_init_module_fns_run(shared_init);