diff options
Diffstat (limited to 'source3/modules')
25 files changed, 28 insertions, 3 deletions
diff --git a/source3/modules/vfs_afsacl.c b/source3/modules/vfs_afsacl.c index e485b3c526..e7650fe457 100644 --- a/source3/modules/vfs_afsacl.c +++ b/source3/modules/vfs_afsacl.c @@ -1040,6 +1040,7 @@ static vfs_op_tuple afsacl_ops[] = { {SMB_VFS_OP(NULL), SMB_VFS_OP_NOOP, SMB_VFS_LAYER_NOOP} }; +NTSTATUS vfs_afsacl_init(void); NTSTATUS vfs_afsacl_init(void) { return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "afsacl", diff --git a/source3/modules/vfs_aixacl.c b/source3/modules/vfs_aixacl.c index 4a1fcc59a3..20c469e36c 100644 --- a/source3/modules/vfs_aixacl.c +++ b/source3/modules/vfs_aixacl.c @@ -208,6 +208,7 @@ static vfs_op_tuple aixacl_op_tuples[] = { SMB_VFS_LAYER_NOOP} }; +NTSTATUS vfs_aixacl_init(void); NTSTATUS vfs_aixacl_init(void) { return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "aixacl", diff --git a/source3/modules/vfs_aixacl2.c b/source3/modules/vfs_aixacl2.c index ed4c4031a6..62a517a6e0 100644 --- a/source3/modules/vfs_aixacl2.c +++ b/source3/modules/vfs_aixacl2.c @@ -530,6 +530,7 @@ static vfs_op_tuple aixjfs2_ops[] = SMB_VFS_LAYER_NOOP} }; +NTSTATUS vfs_aixacl2_init(void); NTSTATUS vfs_aixacl2_init(void) { return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, AIXACL2_MODULE_NAME, diff --git a/source3/modules/vfs_audit.c b/source3/modules/vfs_audit.c index b240cafd29..fb146c1ad4 100644 --- a/source3/modules/vfs_audit.c +++ b/source3/modules/vfs_audit.c @@ -297,6 +297,7 @@ static int audit_fchmod_acl(vfs_handle_struct *handle, files_struct *fsp, int fd return result; } +NTSTATUS vfs_audit_init(void); NTSTATUS vfs_audit_init(void) { return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "audit", audit_op_tuples); diff --git a/source3/modules/vfs_cacheprime.c b/source3/modules/vfs_cacheprime.c index 196441c4dd..61a92a0232 100644 --- a/source3/modules/vfs_cacheprime.c +++ b/source3/modules/vfs_cacheprime.c @@ -192,6 +192,7 @@ static vfs_op_tuple cprime_ops [] = * ------------------------------------------------------------------------- */ +NTSTATUS vfs_cacheprime_init(void); NTSTATUS vfs_cacheprime_init(void) { return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, MODULE, cprime_ops); diff --git a/source3/modules/vfs_cap.c b/source3/modules/vfs_cap.c index c4539ca34a..c254ba0ed9 100644 --- a/source3/modules/vfs_cap.c +++ b/source3/modules/vfs_cap.c @@ -362,6 +362,7 @@ static vfs_op_tuple cap_op_tuples[] = { {NULL, SMB_VFS_OP_NOOP, SMB_VFS_LAYER_NOOP} }; +NTSTATUS vfs_cap_init(void); NTSTATUS vfs_cap_init(void) { return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "cap", cap_op_tuples); diff --git a/source3/modules/vfs_catia.c b/source3/modules/vfs_catia.c index ccf637c3bc..478dab6cbe 100644 --- a/source3/modules/vfs_catia.c +++ b/source3/modules/vfs_catia.c @@ -308,6 +308,7 @@ SMB_VFS_LAYER_TRANSPARENT}, SMB_VFS_LAYER_NOOP} }; +NTSTATUS vfs_catia_init(void); NTSTATUS vfs_catia_init(void) { return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "catia", diff --git a/source3/modules/vfs_commit.c b/source3/modules/vfs_commit.c index 9d817c017d..4407490d22 100644 --- a/source3/modules/vfs_commit.c +++ b/source3/modules/vfs_commit.c @@ -182,6 +182,7 @@ static vfs_op_tuple commit_ops [] = {SMB_VFS_OP(NULL), SMB_VFS_OP_NOOP, SMB_VFS_LAYER_NOOP} }; +NTSTATUS vfs_commit_init(void); NTSTATUS vfs_commit_init(void) { return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, MODULE, commit_ops); diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c index 486a76ac88..c68ccbf714 100644 --- a/source3/modules/vfs_default.c +++ b/source3/modules/vfs_default.c @@ -1323,6 +1323,7 @@ static vfs_op_tuple vfs_default_ops[] = { SMB_VFS_LAYER_NOOP} }; +NTSTATUS vfs_default_init(void); NTSTATUS vfs_default_init(void) { unsigned int needed = SMB_VFS_OP_LAST + 1; /* convert from index to count */ diff --git a/source3/modules/vfs_default_quota.c b/source3/modules/vfs_default_quota.c index 55dc287b88..772c91dc47 100644 --- a/source3/modules/vfs_default_quota.c +++ b/source3/modules/vfs_default_quota.c @@ -224,6 +224,7 @@ static vfs_op_tuple default_quota_ops[] = { {SMB_VFS_OP(NULL), SMB_VFS_OP_NOOP, SMB_VFS_LAYER_NOOP} }; +NTSTATUS vfs_default_quota_init(void); NTSTATUS vfs_default_quota_init(void) { return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, DEFAULT_QUOTA_NAME, default_quota_ops); diff --git a/source3/modules/vfs_expand_msdfs.c b/source3/modules/vfs_expand_msdfs.c index 2abab4dd2f..7176c11e4a 100644 --- a/source3/modules/vfs_expand_msdfs.c +++ b/source3/modules/vfs_expand_msdfs.c @@ -189,6 +189,7 @@ static vfs_op_tuple expand_msdfs_ops[] = { {SMB_VFS_OP(NULL), SMB_VFS_OP_NOOP, SMB_VFS_LAYER_NOOP} }; +NTSTATUS vfs_expand_msdfs_init(void); NTSTATUS vfs_expand_msdfs_init(void) { return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "expand_msdfs", diff --git a/source3/modules/vfs_extd_audit.c b/source3/modules/vfs_extd_audit.c index 1c3b25103c..06722b3b8c 100644 --- a/source3/modules/vfs_extd_audit.c +++ b/source3/modules/vfs_extd_audit.c @@ -347,6 +347,7 @@ static int audit_fchmod_acl(vfs_handle_struct *handle, files_struct *fsp, int fd return result; } +NTSTATUS vfs_extd_audit_init(void); NTSTATUS vfs_extd_audit_init(void) { NTSTATUS ret = smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "extd_audit", audit_op_tuples); diff --git a/source3/modules/vfs_fake_perms.c b/source3/modules/vfs_fake_perms.c index 8bd8bbf532..e31adb881c 100644 --- a/source3/modules/vfs_fake_perms.c +++ b/source3/modules/vfs_fake_perms.c @@ -73,6 +73,7 @@ static vfs_op_tuple fake_perms_ops[] = { {SMB_VFS_OP(NULL), SMB_VFS_OP_NOOP, SMB_VFS_LAYER_NOOP} }; +NTSTATUS vfs_fake_perms_init(void); NTSTATUS vfs_fake_perms_init(void) { return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "fake_perms", fake_perms_ops); diff --git a/source3/modules/vfs_full_audit.c b/source3/modules/vfs_full_audit.c index f60a3b0585..e632040dc1 100644 --- a/source3/modules/vfs_full_audit.c +++ b/source3/modules/vfs_full_audit.c @@ -2039,6 +2039,7 @@ static int smb_full_audit_aio_suspend(struct vfs_handle_struct *handle, struct f } +NTSTATUS vfs_full_audit_init(void); NTSTATUS vfs_full_audit_init(void) { NTSTATUS ret = smb_register_vfs(SMB_VFS_INTERFACE_VERSION, diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c index 9cc9f78381..c8bb848d0f 100644 --- a/source3/modules/vfs_gpfs.c +++ b/source3/modules/vfs_gpfs.c @@ -635,6 +635,7 @@ static vfs_op_tuple gpfs_op_tuples[] = { }; +NTSTATUS vfs_gpfs_init(void); NTSTATUS vfs_gpfs_init(void) { init_gpfs(); diff --git a/source3/modules/vfs_hpuxacl.c b/source3/modules/vfs_hpuxacl.c index 43cc45cbf1..aeb078c32d 100644 --- a/source3/modules/vfs_hpuxacl.c +++ b/source3/modules/vfs_hpuxacl.c @@ -95,6 +95,7 @@ static vfs_op_tuple hpuxacl_op_tuples[] = { SMB_VFS_LAYER_NOOP} }; +NTSTATUS vfs_hpuxacl_init(void); NTSTATUS vfs_hpuxacl_init(void) { return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "hpuxacl", diff --git a/source3/modules/vfs_irixacl.c b/source3/modules/vfs_irixacl.c index 8acb24b385..d80b34b24b 100644 --- a/source3/modules/vfs_irixacl.c +++ b/source3/modules/vfs_irixacl.c @@ -95,6 +95,7 @@ static vfs_op_tuple irixacl_op_tuples[] = { SMB_VFS_LAYER_NOOP} }; +NTSTATUS vfs_irixacl_init(void); NTSTATUS vfs_irixacl_init(void) { return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "irixacl", diff --git a/source3/modules/vfs_netatalk.c b/source3/modules/vfs_netatalk.c index 279160d966..7176919a7d 100644 --- a/source3/modules/vfs_netatalk.c +++ b/source3/modules/vfs_netatalk.c @@ -172,7 +172,7 @@ static void atalk_rrmdir(TALLOC_CTX *ctx, char *path) /* Directory operations */ -SMB_STRUCT_DIR *atalk_opendir(struct vfs_handle_struct *handle, const char *fname, const char *mask, uint32 attr) +static SMB_STRUCT_DIR *atalk_opendir(struct vfs_handle_struct *handle, const char *fname, const char *mask, uint32 attr) { SMB_STRUCT_DIR *ret = 0; @@ -394,6 +394,7 @@ static vfs_op_tuple atalk_ops[] = { {SMB_VFS_OP(NULL), SMB_VFS_OP_NOOP, SMB_VFS_LAYER_NOOP} }; +NTSTATUS vfs_netatalk_init(void); NTSTATUS vfs_netatalk_init(void) { return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "netatalk", atalk_ops); diff --git a/source3/modules/vfs_posixacl.c b/source3/modules/vfs_posixacl.c index c793d83068..191c4a7cb0 100644 --- a/source3/modules/vfs_posixacl.c +++ b/source3/modules/vfs_posixacl.c @@ -384,6 +384,7 @@ static vfs_op_tuple posixacl_op_tuples[] = { SMB_VFS_LAYER_NOOP} }; +NTSTATUS vfs_posixacl_init(void); NTSTATUS vfs_posixacl_init(void) { return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "posixacl", diff --git a/source3/modules/vfs_prealloc.c b/source3/modules/vfs_prealloc.c index 94db642370..2e0b8b18b4 100644 --- a/source3/modules/vfs_prealloc.c +++ b/source3/modules/vfs_prealloc.c @@ -206,6 +206,7 @@ static vfs_op_tuple prealloc_op_tuples[] = { {NULL, SMB_VFS_OP_NOOP, SMB_VFS_LAYER_NOOP} }; +NTSTATUS vfs_prealloc_init(void); NTSTATUS vfs_prealloc_init(void) { return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, diff --git a/source3/modules/vfs_readonly.c b/source3/modules/vfs_readonly.c index e69f7dac01..721e59430c 100644 --- a/source3/modules/vfs_readonly.c +++ b/source3/modules/vfs_readonly.c @@ -91,6 +91,7 @@ static vfs_op_tuple readonly_op_tuples[] = { {SMB_VFS_OP(NULL), SMB_VFS_OP_NOOP, SMB_VFS_LAYER_NOOP} }; +NTSTATUS vfs_readonly_init(void); NTSTATUS vfs_readonly_init(void) { return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, MODULE_NAME, readonly_op_tuples); diff --git a/source3/modules/vfs_recycle.c b/source3/modules/vfs_recycle.c index 4ffd683bfd..121454315f 100644 --- a/source3/modules/vfs_recycle.c +++ b/source3/modules/vfs_recycle.c @@ -538,6 +538,7 @@ done: return rc; } +NTSTATUS vfs_recycle_init(void); NTSTATUS vfs_recycle_init(void) { NTSTATUS ret = smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "recycle", recycle_ops); diff --git a/source3/modules/vfs_shadow_copy.c b/source3/modules/vfs_shadow_copy.c index 447c53d773..f9a76ec72d 100644 --- a/source3/modules/vfs_shadow_copy.c +++ b/source3/modules/vfs_shadow_copy.c @@ -119,7 +119,7 @@ static SMB_STRUCT_DIR *shadow_copy_opendir(vfs_handle_struct *handle, const char return((SMB_STRUCT_DIR *)dirp); } -SMB_STRUCT_DIRENT *shadow_copy_readdir(vfs_handle_struct *handle, SMB_STRUCT_DIR *_dirp) +static SMB_STRUCT_DIRENT *shadow_copy_readdir(vfs_handle_struct *handle, SMB_STRUCT_DIR *_dirp) { shadow_copy_Dir *dirp = (shadow_copy_Dir *)_dirp; @@ -151,7 +151,7 @@ static void shadow_copy_rewinddir(struct vfs_handle_struct *handle, SMB_STRUCT_D dirp->pos = 0 ; } -int shadow_copy_closedir(vfs_handle_struct *handle, SMB_STRUCT_DIR *_dirp) +static int shadow_copy_closedir(vfs_handle_struct *handle, SMB_STRUCT_DIR *_dirp) { shadow_copy_Dir *dirp = (shadow_copy_Dir *)_dirp; @@ -228,6 +228,7 @@ static vfs_op_tuple shadow_copy_ops[] = { {SMB_VFS_OP(NULL), SMB_VFS_OP_NOOP, SMB_VFS_LAYER_NOOP} }; +NTSTATUS vfs_shadow_copy_init(void); NTSTATUS vfs_shadow_copy_init(void) { NTSTATUS ret = smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "shadow_copy", shadow_copy_ops); diff --git a/source3/modules/vfs_solarisacl.c b/source3/modules/vfs_solarisacl.c index 5e5e5978f2..3ec01b2a39 100644 --- a/source3/modules/vfs_solarisacl.c +++ b/source3/modules/vfs_solarisacl.c @@ -779,6 +779,7 @@ static vfs_op_tuple solarisacl_op_tuples[] = { SMB_VFS_LAYER_NOOP} }; +NTSTATUS vfs_solarisacl_init(void); NTSTATUS vfs_solarisacl_init(void) { return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "solarisacl", diff --git a/source3/modules/vfs_tru64acl.c b/source3/modules/vfs_tru64acl.c index 774fadf4b9..6aa9557c28 100644 --- a/source3/modules/vfs_tru64acl.c +++ b/source3/modules/vfs_tru64acl.c @@ -495,6 +495,7 @@ static vfs_op_tuple tru64acl_op_tuples[] = { SMB_VFS_LAYER_NOOP} }; +NTSTATUS vfs_tru64acl_init(void); NTSTATUS vfs_tru64acl_init(void) { return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "tru64acl", |