summaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
authorGoffredo Baroncelli <kreijack@gmail.com>2012-10-29 18:53:17 +0100
committerDavid Sterba <dsterba@suse.cz>2013-01-17 18:27:54 +0100
commit8f76aee6bc7cd0155ca6a251f6656a5560298f54 (patch)
treed2b429ed9ad343a9fabad55dc06dd18f2e2ced47 /utils.h
parent043437d8e1609874018a28996d1878847e57bd55 (diff)
Move parse_size() to utils.[hc]
Move the function from cmds-filesystem.c and mkfs.c to utils.c Signed-off-by: Goffredo Baroncelli <kreijack@inwind.it>
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils.h b/utils.h
index 3a0368b2..714fd7ac 100644
--- a/utils.h
+++ b/utils.h
@@ -46,4 +46,6 @@ int check_label(char *input);
int get_mountpt(char *dev, char *mntpt, size_t size);
int btrfs_scan_block_devices(int run_ioctl);
+
+u64 parse_size(char *s);
#endif