s3: smbd: Change open_streams_for_delete() to take a struct smb_filename *.
[samba.git] / examples / VFS / shadow_copy_test.c
index 944136badd4b791d3bf5455ec459eae22656a654..05d6e16042d1af594fdf329487cf422953f9e85f 100644 (file)
@@ -56,8 +56,8 @@ static int test_get_shadow_copy_data(vfs_handle_struct *handle,
                                    struct shadow_copy_data *shadow_copy_data,
                                    bool labels)
 {
-       uint32 num = 3;
-       uint32 i;
+       uint32_t num = 3;
+       uint32_t i;
        
        shadow_copy_data->num_volumes = num;
        
@@ -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,