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/ntvfs/ntvfs_base.c | 4 ++-- source4/ntvfs/posix/pvfs_acl.c | 4 ++-- source4/ntvfs/sysdep/sys_lease.c | 2 +- source4/ntvfs/sysdep/sys_notify.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'source4/ntvfs') diff --git a/source4/ntvfs/ntvfs_base.c b/source4/ntvfs/ntvfs_base.c index 25cbfc1194..efa1968de8 100644 --- a/source4/ntvfs/ntvfs_base.c +++ b/source4/ntvfs/ntvfs_base.c @@ -230,8 +230,8 @@ NTSTATUS ntvfs_init(struct loadparm_context *lp_ctx) static bool initialized = false; #define _MODULE_PROTO(init) extern NTSTATUS init(void); STATIC_ntvfs_MODULES_PROTO; - samba_init_module_fn static_init[] = { STATIC_ntvfs_MODULES }; - samba_init_module_fn *shared_init; + samba_module_init_fn static_init[] = { STATIC_ntvfs_MODULES }; + samba_module_init_fn *shared_init; if (initialized) return NT_STATUS_OK; initialized = true; diff --git a/source4/ntvfs/posix/pvfs_acl.c b/source4/ntvfs/posix/pvfs_acl.c index d809095224..2372b440fd 100644 --- a/source4/ntvfs/posix/pvfs_acl.c +++ b/source4/ntvfs/posix/pvfs_acl.c @@ -87,8 +87,8 @@ NTSTATUS pvfs_acl_init(void) static bool initialized = false; #define _MODULE_PROTO(init) extern NTSTATUS init(void); STATIC_pvfs_acl_MODULES_PROTO; - samba_init_module_fn static_init[] = { STATIC_pvfs_acl_MODULES }; - samba_init_module_fn *shared_init; + samba_module_init_fn static_init[] = { STATIC_pvfs_acl_MODULES }; + samba_module_init_fn *shared_init; if (initialized) return NT_STATUS_OK; initialized = true; diff --git a/source4/ntvfs/sysdep/sys_lease.c b/source4/ntvfs/sysdep/sys_lease.c index f95e02a578..5e8a70fdad 100644 --- a/source4/ntvfs/sysdep/sys_lease.c +++ b/source4/ntvfs/sysdep/sys_lease.c @@ -113,7 +113,7 @@ _PUBLIC_ NTSTATUS sys_lease_init(void) static bool initialized = false; #define _MODULE_PROTO(init) extern NTSTATUS init(void); STATIC_sys_lease_MODULES_PROTO; - samba_init_module_fn static_init[] = { STATIC_sys_lease_MODULES }; + samba_module_init_fn static_init[] = { STATIC_sys_lease_MODULES }; if (initialized) return NT_STATUS_OK; initialized = true; diff --git a/source4/ntvfs/sysdep/sys_notify.c b/source4/ntvfs/sysdep/sys_notify.c index 71ffda2bac..dd143d36b4 100644 --- a/source4/ntvfs/sysdep/sys_notify.c +++ b/source4/ntvfs/sysdep/sys_notify.c @@ -137,7 +137,7 @@ _PUBLIC_ NTSTATUS sys_notify_init(void) static bool initialized = false; #define _MODULE_PROTO(init) extern NTSTATUS init(void); STATIC_sys_notify_MODULES_PROTO; - samba_init_module_fn static_init[] = { STATIC_sys_notify_MODULES }; + samba_module_init_fn static_init[] = { STATIC_sys_notify_MODULES }; if (initialized) return NT_STATUS_OK; initialized = true; -- cgit