diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-10-25 07:43:06 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-10-28 13:10:28 +0200 |
commit | 1b7cc4ac7c793d4c1829d842c84273ef2d081fdb (patch) | |
tree | a4a55a7a41621f9927c7c842cc5b37dbf53b3bbf /source4/ntvfs | |
parent | 87354c9a6de95d5dcebace77a35fc21a73d599ab (diff) | |
download | samba-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/ntvfs')
-rw-r--r-- | source4/ntvfs/ntvfs_base.c | 4 | ||||
-rw-r--r-- | source4/ntvfs/posix/pvfs_acl.c | 4 | ||||
-rw-r--r-- | source4/ntvfs/sysdep/sys_lease.c | 2 | ||||
-rw-r--r-- | source4/ntvfs/sysdep/sys_notify.c | 2 |
4 files changed, 6 insertions, 6 deletions
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; |