Signed-off-by: Vasilis Liaskovitis vasilis.liaskovitis@profitbricks.com --- qemu-option.c | 2 +- qemu-option.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/qemu-option.c b/qemu-option.c index 38e0a11..88fd370 100644 --- a/qemu-option.c +++ b/qemu-option.c @@ -185,7 +185,7 @@ static void parse_option_bool(const char *name, const char *value, bool *ret, } }
-static void parse_option_number(const char *name, const char *value, +void parse_option_number(const char *name, const char *value, uint64_t *ret, Error **errp) { char *postfix; diff --git a/qemu-option.h b/qemu-option.h index b8ee5b3..8b7235f 100644 --- a/qemu-option.h +++ b/qemu-option.h @@ -154,5 +154,7 @@ int qemu_opts_foreach(QemuOptsList *list, qemu_opts_loopfunc func, void *opaque, int abort_on_failure); void parse_option_size(const char *name, const char *value, uint64_t *ret, Error **errp); +void parse_option_number(const char *name, const char *value, + uint64_t *ret, Error **errp);
#endif