summaryrefslogtreecommitdiff
path: root/source4/ntvfs
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/ntvfs
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/ntvfs')
-rw-r--r--source4/ntvfs/ntvfs_base.c4
-rw-r--r--source4/ntvfs/posix/pvfs_acl.c4
-rw-r--r--source4/ntvfs/sysdep/sys_lease.c2
-rw-r--r--source4/ntvfs/sysdep/sys_notify.c2
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;