diff options
author | Markus Armbruster <armbru@redhat.com> | 2014-09-08 18:51:01 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-09-10 10:41:29 +0200 |
commit | a31e69cf007dd2e7f6912b7839de1ebd1a41d091 (patch) | |
tree | dec8d4f428192b33e564d177a60446e0c8c9f29f | |
parent | 7ca9b7c03574291ec845f9d39fee0b1d26f9ce38 (diff) |
thread-pool: Drop unnecessary includes
Dragging block_int.h into a header is *not* nice. Fortunately, this
is the only offender.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
-rw-r--r-- | include/block/thread-pool.h | 6 | ||||
-rw-r--r-- | thread-pool.c | 1 |
2 files changed, 1 insertions, 6 deletions
diff --git a/include/block/thread-pool.h b/include/block/thread-pool.h index 32afcdd1d6..472375227a 100644 --- a/include/block/thread-pool.h +++ b/include/block/thread-pool.h @@ -18,11 +18,7 @@ #ifndef QEMU_THREAD_POOL_H #define QEMU_THREAD_POOL_H 1 -#include "qemu-common.h" -#include "qemu/queue.h" -#include "qemu/thread.h" -#include "block/coroutine.h" -#include "block/block_int.h" +#include "block/block.h" typedef int ThreadPoolFunc(void *opaque); diff --git a/thread-pool.c b/thread-pool.c index 23888dcfc4..bc07d7a1c9 100644 --- a/thread-pool.c +++ b/thread-pool.c @@ -20,7 +20,6 @@ #include "qemu/osdep.h" #include "block/coroutine.h" #include "trace.h" -#include "block/block_int.h" #include "block/thread-pool.h" #include "qemu/main-loop.h" |