path: root/utils.h
diff options
authorDavid Sterba <>2016-03-22 17:01:20 +0100
committerDavid Sterba <>2016-03-30 16:25:47 +0200
commit113d1ad49c6e488ae494e9bb6a4eaa2a5ee4af7c (patch)
treed7daf806de749e1fbd38ff8ff268d269a06c0651 /utils.h
parentc1bb7a2d60092a11ae98e10575dedb1ddc434872 (diff)
btrfs-progs: cleanup block group helpers types
Use const char and remove stray prototypes. Signed-off-by: David Sterba <>
Diffstat (limited to 'utils.h')
1 files changed, 2 insertions, 2 deletions
diff --git a/utils.h b/utils.h
index 5eb462b5..ff5966d1 100644
--- a/utils.h
+++ b/utils.h
@@ -220,8 +220,8 @@ static inline u64 btrfs_min_dev_size(u32 leafsize)
int find_next_key(struct btrfs_path *path, struct btrfs_key *key);
-char* btrfs_group_type_str(u64 flag);
-char* btrfs_group_profile_str(u64 flag);
+const char* btrfs_group_type_str(u64 flag);
+const char* btrfs_group_profile_str(u64 flag);
* Get the length of the string converted from a u64 number.