summaryrefslogtreecommitdiff
path: root/cmds-chunk.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmds-chunk.c')
-rw-r--r--cmds-chunk.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmds-chunk.c b/cmds-chunk.c
index fdc01727..16f399e5 100644
--- a/cmds-chunk.c
+++ b/cmds-chunk.c
@@ -188,7 +188,8 @@ static struct btrfs_chunk *create_chunk_item(struct chunk_record *record)
return ret;
}
-void init_recover_control(struct recover_control *rc, int verbose, int yes)
+static void init_recover_control(struct recover_control *rc, int verbose,
+ int yes)
{
memset(rc, 0, sizeof(struct recover_control));
cache_tree_init(&rc->chunk);
@@ -204,7 +205,7 @@ void init_recover_control(struct recover_control *rc, int verbose, int yes)
rc->yes = yes;
}
-void free_recover_control(struct recover_control *rc)
+static void free_recover_control(struct recover_control *rc)
{
free_block_group_tree(&rc->bg);
free_chunk_cache_tree(&rc->chunk);