summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2015-08-13 18:16:20 +0200
committerRalph Böhme <slow@samba.org>2015-08-20 16:06:21 +0200
commitfd6eb8bd448f9e9d209ca407a494d4011b2e97f1 (patch)
treebb52aaba2d5dc78808a28041bbed02cd8b913f18 /examples
parent4451d0a5cda71b61f4d7a7529c14d831b91574bb (diff)
downloadsamba-fd6eb8bd448f9e9d209ca407a494d4011b2e97f1.tar.gz
examples/VFS: make function prototypes available via static_decl_vfs;
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'examples')
-rw-r--r--examples/VFS/shadow_copy_test.c1
-rw-r--r--examples/VFS/skel_opaque.c1
-rw-r--r--examples/VFS/skel_transparent.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/examples/VFS/shadow_copy_test.c b/examples/VFS/shadow_copy_test.c
index b3a99ca1612..05d6e16042d 100644
--- a/examples/VFS/shadow_copy_test.c
+++ b/examples/VFS/shadow_copy_test.c
@@ -83,6 +83,7 @@ static struct vfs_fn_pointers vfs_test_shadow_copy_fns = {
.get_shadow_copy_data_fn = test_get_shadow_copy_data
};
+static_decl_vfs;
NTSTATUS vfs_shadow_copy_test_init(void)
{
return smb_register_vfs(SMB_VFS_INTERFACE_VERSION,
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c
index 70219981d04..29fe6f44c21 100644
--- a/examples/VFS/skel_opaque.c
+++ b/examples/VFS/skel_opaque.c
@@ -961,6 +961,7 @@ struct vfs_fn_pointers skel_opaque_fns = {
.set_offline_fn = skel_set_offline
};
+static_decl_vfs;
NTSTATUS vfs_skel_opaque_init(void)
{
return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "skel_opaque",
diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c
index 6c6adeac811..c5a36a65a11 100644
--- a/examples/VFS/skel_transparent.c
+++ b/examples/VFS/skel_transparent.c
@@ -1070,6 +1070,7 @@ struct vfs_fn_pointers skel_transparent_fns = {
.set_offline_fn = skel_set_offline
};
+static_decl_vfs;
NTSTATUS vfs_skel_transparent_init(void)
{
return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "skel_transparent",