diff options
author | Anand Jain <anand.jain@oracle.com> | 2013-11-13 16:19:39 +0800 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-01-31 08:22:01 -0800 |
commit | 72f1835ae4ed46c56d47fe10e9189708e7704246 (patch) | |
tree | 8c3fcc3c65083417eae5acd2fce73807d0490606 /qgroup.c | |
parent | 90cad5f9e6f55947bd5e5b64dd9e44bdd02982b3 (diff) |
btrfs-progs: make it static if function isn't called outside
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'qgroup.c')
-rw-r--r-- | qgroup.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -76,7 +76,7 @@ struct btrfs_qgroup_list { /* * qgroupid,rfer,excl default to set */ -struct { +static struct { char *name; char *column_name; int need_print; @@ -652,7 +652,7 @@ static int add_qgroup(struct qgroup_lookup *qgroup_lookup, u64 qgroupid, return ret; } -void __free_btrfs_qgroup(struct btrfs_qgroup *bq) +static void __free_btrfs_qgroup(struct btrfs_qgroup *bq) { struct btrfs_qgroup_list *list; while (!list_empty(&bq->qgroups)) { @@ -674,7 +674,7 @@ void __free_btrfs_qgroup(struct btrfs_qgroup *bq) free(bq); } -void __free_all_qgroups(struct qgroup_lookup *root_tree) +static void __free_all_qgroups(struct qgroup_lookup *root_tree) { struct btrfs_qgroup *entry; struct rb_node *n; |