aboutsummaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2021-05-06 12:06:21 +0300
committerMax Reitz <mreitz@redhat.com>2021-05-14 16:14:10 +0200
commitc61ebf362d0abf288ce266845519d5a550a1d89f (patch)
tree67fa2bd912ae008c5850026d3b86d8eed20937c0 /tests/unit
parent23357b93c7bbeec65aef75f798cacbcda0ca5f4d (diff)
downloadqemu-c61ebf362d0abf288ce266845519d5a550a1d89f.zip
qemu-c61ebf362d0abf288ce266845519d5a550a1d89f.tar.gz
qemu-c61ebf362d0abf288ce266845519d5a550a1d89f.tar.bz2
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>
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/test-write-threshold.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/unit/test-write-threshold.c b/tests/unit/test-write-threshold.c
index 49b1ef7..0158e46 100644
--- a/tests/unit/test-write-threshold.c
+++ b/tests/unit/test-write-threshold.c
@@ -7,7 +7,6 @@
*/
#include "qemu/osdep.h"
-#include "qapi/error.h"
#include "block/block_int.h"
#include "block/write-threshold.h"