summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_snapper.c
diff options
context:
space:
mode:
authorChristof Schmitt <cs@samba.org>2017-12-15 15:32:12 -0700
committerAndrew Bartlett <abartlet@samba.org>2017-12-18 13:31:59 +0100
commit4003736a3d663e39beeabe3d3d9bdffdeca2b570 (patch)
treeb0c7bff190eef172d02454aed057b2ca8392adf8 /source3/modules/vfs_snapper.c
parent679850e4b79a55758482fd08af765a4c27d9f739 (diff)
downloadsamba-4003736a3d663e39beeabe3d3d9bdffdeca2b570.tar.gz
vfs: Use static_decl_vfs in all VFS modules
Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon Dec 18 13:32:00 CET 2017 on sn-devel-144
Diffstat (limited to 'source3/modules/vfs_snapper.c')
-rw-r--r--source3/modules/vfs_snapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_snapper.c b/source3/modules/vfs_snapper.c
index 9dbb74f8fe9..60851501a51 100644
--- a/source3/modules/vfs_snapper.c
+++ b/source3/modules/vfs_snapper.c
@@ -3177,7 +3177,7 @@ static struct vfs_fn_pointers snapper_fns = {
.get_real_filename_fn = snapper_gmt_get_real_filename,
};
-NTSTATUS vfs_snapper_init(TALLOC_CTX *);
+static_decl_vfs;
NTSTATUS vfs_snapper_init(TALLOC_CTX *ctx)
{
return smb_register_vfs(SMB_VFS_INTERFACE_VERSION,