]> git.proxmox.com Git - mirror_qemu.git/commit
write-threshold: deal with includes
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Thu, 6 May 2021 09:06:21 +0000 (12:06 +0300)
committerMax Reitz <mreitz@redhat.com>
Fri, 14 May 2021 14:14:10 +0000 (16:14 +0200)
commitc61ebf362d0abf288ce266845519d5a550a1d89f
tree67fa2bd912ae008c5850026d3b86d8eed20937c0
parent23357b93c7bbeec65aef75f798cacbcda0ca5f4d
write-threshold: deal with includes

"qemu/typedefs.h" is enough for include/block/write-threshold.h header
with forward declaration of BlockDriverState. Also drop extra includes
from block/write-threshold.c and tests/unit/test-write-threshold.c

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20210506090621.11848-9-vsementsov@virtuozzo.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/write-threshold.c
include/block/write-threshold.h
tests/unit/test-write-threshold.c