diff options
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/smbtorture.c | 2 | ||||
-rw-r--r-- | source4/torture/torture.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/smbtorture.c b/source4/torture/smbtorture.c index 934e0a7b2f..b2bd4c6749 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) { - init_module_fn fn = load_module(poptGetOptArg(pc), false, NULL); + samba_init_module_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 b066d3e1ac..155a346956 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; - init_module_fn static_init[] = { STATIC_smbtorture_MODULES }; - init_module_fn *shared_init = load_samba_modules(NULL, "smbtorture"); + samba_init_module_fn static_init[] = { STATIC_smbtorture_MODULES }; + samba_init_module_fn *shared_init = load_samba_modules(NULL, "smbtorture"); run_init_functions(static_init); run_init_functions(shared_init); |