From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XSTDx-0000DE-2a for qemu-devel@nongnu.org; Fri, 12 Sep 2014 11:57:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XSTDq-0000hr-VB for qemu-devel@nongnu.org; Fri, 12 Sep 2014 11:57:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41224) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XSTDq-0000hi-Oo for qemu-devel@nongnu.org; Fri, 12 Sep 2014 11:57:18 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s8CFvIl4021754 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Fri, 12 Sep 2014 11:57:18 -0400 From: Kevin Wolf Date: Fri, 12 Sep 2014 17:56:50 +0200 Message-Id: <1410537426-9917-7-git-send-email-kwolf@redhat.com> In-Reply-To: <1410537426-9917-1-git-send-email-kwolf@redhat.com> References: <1410537426-9917-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PULL 06/22] thread-pool: Drop unnecessary includes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com From: Markus Armbruster Dragging block_int.h into a header is *not* nice. Fortunately, this is the only offender. Signed-off-by: Markus Armbruster Signed-off-by: Kevin Wolf --- include/block/thread-pool.h | 6 +----- thread-pool.c | 1 - 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/include/block/thread-pool.h b/include/block/thread-pool.h index 32afcdd..4723752 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 23888dc..bc07d7a 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" -- 1.8.3.1