diff options
author | Gui Hecheng <guihc.fnst@cn.fujitsu.com> | 2014-12-25 09:16:34 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2014-12-29 18:10:58 +0100 |
commit | 280434ebde0e88d1e0b774a1181ab4bb9c807d3c (patch) | |
tree | ee67ec96cc3b0303df5ee0accd3253505f970103 /utils.h | |
parent | 7d83db5bae5420d7b1c7f4e64897c25bc9a94f09 (diff) |
btrfs-progs: move check_arg_type() to util.c
The check_arg_type() function does quite generic thing, move it to
utils.c.
Signed-off-by: Gui Hecheng <guihc.fnst@cn.fujitsu.com>
Reviewed-by: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'utils.h')
-rw-r--r-- | utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -118,6 +118,7 @@ int set_label(const char *btrfs_dev, const char *label); char *__strncpy__null(char *dest, const char *src, size_t n); int is_block_device(const char *file); int is_mount_point(const char *file); +int check_arg_type(const char *input); int open_path_or_dev_mnt(const char *path, DIR **dirstream); u64 btrfs_device_size(int fd, struct stat *st); /* Helper to always get proper size of the destination string */ |