s3:modules/vfs_*: make function prototypes available via static_decl_vfs;
authorStefan Metzmacher <metze@samba.org>
Thu, 13 Aug 2015 16:16:20 +0000 (18:16 +0200)
committerRalph Böhme <slow@samba.org>
Thu, 20 Aug 2015 14:06:21 +0000 (16:06 +0200)
This allows the static build of the modules.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
12 files changed:
source3/modules/vfs_acl_tdb.c
source3/modules/vfs_acl_xattr.c
source3/modules/vfs_aio_linux.c
source3/modules/vfs_audit.c
source3/modules/vfs_catia.c
source3/modules/vfs_dirsort.c
source3/modules/vfs_extd_audit.c
source3/modules/vfs_full_audit.c
source3/modules/vfs_posix_eadb.c
source3/modules/vfs_scannedonly.c
source3/modules/vfs_smb_traffic_analyzer.c
source3/modules/vfs_syncops.c

index 1537ba32f9c6eacf493f4866bd7629d317a0919b..c7acf4335afd336cc1c1192f7ac6f31399538e08 100644 (file)
@@ -403,6 +403,7 @@ static struct vfs_fn_pointers vfs_acl_tdb_fns = {
        .sys_acl_set_fd_fn = sys_acl_set_fd_tdb
 };
 
+static_decl_vfs;
 NTSTATUS vfs_acl_tdb_init(void)
 {
        return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "acl_tdb",
index c1b0a60e16a7c5457b7e6e731a1a2bfffb30bd5a..710fbf3aefc22ed2a1e185242f964d807dd8e339 100644 (file)
@@ -214,6 +214,7 @@ static struct vfs_fn_pointers vfs_acl_xattr_fns = {
        .sys_acl_set_fd_fn = sys_acl_set_fd_xattr
 };
 
+static_decl_vfs;
 NTSTATUS vfs_acl_xattr_init(void)
 {
        return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "acl_xattr",
index 5b515d8a52d9660431e3531d585240948aee3208..db5f075bac8b753281ed6cf68ad39b1e5fc1550d 100644 (file)
@@ -348,6 +348,7 @@ static struct vfs_fn_pointers vfs_aio_linux_fns = {
        .fsync_recv_fn = aio_linux_int_recv,
 };
 
+static_decl_vfs;
 NTSTATUS vfs_aio_linux_init(void)
 {
        return smb_register_vfs(SMB_VFS_INTERFACE_VERSION,
index 6963c3726b454cf5e8dd3f65cb7ac814019cd062..02e8f35dd101e6b465d19605f31474c9852a98e3 100644 (file)
@@ -283,6 +283,7 @@ static struct vfs_fn_pointers vfs_audit_fns = {
        .fchmod_acl_fn = audit_fchmod_acl
 };
 
+static_decl_vfs;
 NTSTATUS vfs_audit_init(void)
 {
        return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "audit",
index f455afd4a45af123df5ac80e451cfa433c762683..c17ffa8f13c803da48357b8f7e1889c5ba6d492a 100644 (file)
@@ -1005,6 +1005,7 @@ static struct vfs_fn_pointers vfs_catia_fns = {
        .setxattr_fn = catia_setxattr,
 };
 
+static_decl_vfs;
 NTSTATUS vfs_catia_init(void)
 {
        NTSTATUS ret;
index 224229f87e8472343b9a1f0115cbc0776ef47b56..d1640880e7180c6423ab0b1b7223b3c8cd5db145 100644 (file)
@@ -358,6 +358,7 @@ static struct vfs_fn_pointers vfs_dirsort_fns = {
        .closedir_fn = dirsort_closedir,
 };
 
+static_decl_vfs;
 NTSTATUS vfs_dirsort_init(void)
 {
        return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "dirsort",
index 93ae7e61d5e219d3bd60ac4933a803ddc3d56755..7d6b4d3d4525d2c8e35dc5d8fa10bfb4240e0b92 100644 (file)
@@ -360,6 +360,7 @@ static struct vfs_fn_pointers vfs_extd_audit_fns = {
        .fchmod_acl_fn = audit_fchmod_acl,
 };
 
+static_decl_vfs;
 NTSTATUS vfs_extd_audit_init(void)
 {
        NTSTATUS ret = smb_register_vfs(SMB_VFS_INTERFACE_VERSION,
index 6de22b1d781085f42a53c05b88677246733c8b16..11f5d822a6013282748fa4625d1708fad59b2e2b 100644 (file)
@@ -2323,6 +2323,7 @@ static struct vfs_fn_pointers vfs_full_audit_fns = {
        .set_offline_fn = smb_full_audit_set_offline,
 };
 
+static_decl_vfs;
 NTSTATUS vfs_full_audit_init(void)
 {
        NTSTATUS ret = smb_register_vfs(SMB_VFS_INTERFACE_VERSION,
index 993c919485ef807342e95b4473024173c8d7df80..20679e16ae02d9021c0fca1c2d538a8c7aa3f41d 100644 (file)
@@ -431,7 +431,7 @@ static struct vfs_fn_pointers vfs_posix_eadb_fns = {
        .connect_fn = posix_eadb_connect,
 };
 
-NTSTATUS vfs_posix_eadb_init(void);
+static_decl_vfs;
 NTSTATUS vfs_posix_eadb_init(void)
 {
        return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "posix_eadb",
index 0232a15e46585bf88e819e610bfd7da69515b288..128374a3db51a8665d34994a8c88caf1a7a0b953 100644 (file)
@@ -1036,6 +1036,7 @@ static struct vfs_fn_pointers vfs_scannedonly_fns = {
        .connect_fn = scannedonly_connect
 };
 
+static_decl_vfs;
 NTSTATUS vfs_scannedonly_init(void)
 {
        return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "scannedonly",
index 4938ff79a57e716d6b69be8a3effedc9707ee457..73ebf639948886bc3a95af522840c18afba774d0 100644 (file)
@@ -919,6 +919,7 @@ static struct vfs_fn_pointers vfs_smb_traffic_analyzer_fns = {
 };
 
 /* Module initialization */
+static_decl_vfs;
 NTSTATUS vfs_smb_traffic_analyzer_init(void)
 {
        NTSTATUS ret = smb_register_vfs(SMB_VFS_INTERFACE_VERSION,
index 8ff283d191964002c29b7f6b961b6f0753dba16d..99f6178457bbb80dbf867cd23681ff68c5055b62 100644 (file)
@@ -291,6 +291,7 @@ static struct vfs_fn_pointers vfs_syncops_fns = {
        .close_fn = syncops_close,
 };
 
+static_decl_vfs;
 NTSTATUS vfs_syncops_init(void)
 {
        NTSTATUS ret;