From 1b7cc4ac7c793d4c1829d842c84273ef2d081fdb Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 25 Oct 2011 07:43:06 +1100 Subject: 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 --- source4/torture/smbtorture.c | 2 +- source4/torture/torture.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'source4/torture') 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); -- cgit