X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=tools-util.h;h=7a04c1080beb9ae5dc0df82ae40579ad3c20c7d4;hb=3798bbae98cb82e13df18ddf095488b98afe0ddd;hp=e7bdd2c3ff50dd01536696be09676da35fece8c3;hpb=56c5542c969adbad6bcce80323ff4618c26f83a9;p=bcachefs-tools-debian diff --git a/tools-util.h b/tools-util.h index e7bdd2c..7a04c10 100644 --- a/tools-util.h +++ b/tools-util.h @@ -62,9 +62,10 @@ u64 read_file_u64(int, const char *); ssize_t read_string_list_or_die(const char *, const char * const[], const char *); -u64 get_size(const char *, int); -unsigned get_blocksize(const char *, int); -int open_for_format(const char *, bool); +u64 get_size(int); +unsigned get_blocksize(int); +struct dev_opts; +int open_for_format(struct dev_opts *, bool); bool ask_yn(void);