diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2014-06-17 14:32:04 +0800 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-06-27 18:19:57 +0200 |
commit | ac46821f2c6eb0617ac911daff111cbc30a4c40c (patch) | |
tree | 15e3dcf00f0a031265bb946a3e7aa25255efe7e5 /block/qapi.c | |
parent | ee17e84830e2e7030d57db5b415719e9022573cd (diff) | |
download | qemu-ac46821f2c6eb0617ac911daff111cbc30a4c40c.zip qemu-ac46821f2c6eb0617ac911daff111cbc30a4c40c.tar.gz qemu-ac46821f2c6eb0617ac911daff111cbc30a4c40c.tar.bz2 |
block: make bdrv_query_stats() static
This function is only called from block/qapi.c. There is no need to
keep it public.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Tested-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/qapi.c')
-rw-r--r-- | block/qapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/qapi.c b/block/qapi.c index 97e1641..aeabaaf 100644 --- a/block/qapi.c +++ b/block/qapi.c @@ -293,7 +293,7 @@ void bdrv_query_info(BlockDriverState *bs, qapi_free_BlockInfo(info); } -BlockStats *bdrv_query_stats(const BlockDriverState *bs) +static BlockStats *bdrv_query_stats(const BlockDriverState *bs) { BlockStats *s; |