summaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
authorGui Hecheng <guihc.fnst@cn.fujitsu.com>2014-12-25 09:16:34 +0800
committerDavid Sterba <dsterba@suse.cz>2014-12-29 18:10:58 +0100
commit280434ebde0e88d1e0b774a1181ab4bb9c807d3c (patch)
treeee67ec96cc3b0303df5ee0accd3253505f970103 /utils.h
parent7d83db5bae5420d7b1c7f4e64897c25bc9a94f09 (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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils.h b/utils.h
index 2480a212..39504917 100644
--- a/utils.h
+++ b/utils.h
@@ -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 */