aboutsummaryrefslogtreecommitdiffstats
path: root/utils.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-03-22 17:01:20 +0100
committerDavid Sterba <dsterba@suse.com>2016-03-30 16:25:47 +0200
commit113d1ad49c6e488ae494e9bb6a4eaa2a5ee4af7c (patch)
treed7daf806de749e1fbd38ff8ff268d269a06c0651 /utils.h
parentc1bb7a2d60092a11ae98e10575dedb1ddc434872 (diff)
downloadbtrfs-progs-113d1ad49c6e488ae494e9bb6a4eaa2a5ee4af7c.tar.gz
btrfs-progs-113d1ad49c6e488ae494e9bb6a4eaa2a5ee4af7c.tar.xz
btrfs-progs-113d1ad49c6e488ae494e9bb6a4eaa2a5ee4af7c.zip
btrfs-progs: cleanup block group helpers types
Use const char and remove stray prototypes. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils.h b/utils.h
index 5eb462b..ff5966d 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.