summaryrefslogtreecommitdiff
path: root/cmd.h
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2013-06-05 14:19:28 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2013-06-06 11:27:03 +0200
commitb6e356aa25c81d928e1c463292048d29cf25f04e (patch)
tree1fcb52cdfa72cac2c0730ac7dba6cc555abc29bc /cmd.h
parent5e00984aef7c1c317e27c0e8acf66526513c770f (diff)
downloadqemu-b6e356aa25c81d928e1c463292048d29cf25f04e.tar.gz
qemu-io: Make cvtnum() a wrapper around strtosz_suffix()
No reason to implement the same thing multiple times. A nice side effect is that fractional numbers like 0.5M can be used in qemu-io now. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'cmd.h')
-rw-r--r--cmd.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/cmd.h b/cmd.h
index 8e6f7538c4..4dcfe885a4 100644
--- a/cmd.h
+++ b/cmd.h
@@ -58,7 +58,6 @@ char **breakline(char *input, int *count);
void doneline(char *input, char **vec);
char *fetchline(void);
-long long cvtnum(char *s);
void cvtstr(double value, char *str, size_t sz);
struct timeval tsub(struct timeval t1, struct timeval t2);