OSDN Git Service

thread-pool: Drop unnecessary includes
authorMarkus Armbruster <armbru@redhat.com>
Mon, 8 Sep 2014 16:51:01 +0000 (18:51 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 10 Sep 2014 08:41:29 +0000 (10:41 +0200)
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>
include/block/thread-pool.h
thread-pool.c

index 32afcdd..4723752 100644 (file)
 #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);
 
index 23888dc..bc07d7a 100644 (file)
@@ -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"