From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41906) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKHw2-0000GD-AF for qemu-devel@nongnu.org; Sun, 02 Mar 2014 20:44:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WKHvw-0005HB-GC for qemu-devel@nongnu.org; Sun, 02 Mar 2014 20:44:50 -0500 Received: from mail-pd0-x231.google.com ([2607:f8b0:400e:c02::231]:64152) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKHvw-0005H2-82 for qemu-devel@nongnu.org; Sun, 02 Mar 2014 20:44:44 -0500 Received: by mail-pd0-f177.google.com with SMTP id g10so3030907pdj.8 for ; Sun, 02 Mar 2014 17:44:43 -0800 (PST) From: Xuebing Wang Date: Mon, 3 Mar 2014 09:43:40 +0800 Message-Id: <1393811020-24881-8-git-send-email-xbing6@gmail.com> In-Reply-To: <1393811020-24881-1-git-send-email-xbing6@gmail.com> References: <1393811020-24881-1-git-send-email-xbing6@gmail.com> Subject: [Qemu-devel] [PULL 7/7] timer: clean unnecessary #include and use minimal required #include List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, pbonzini@redhat.com, stefanha@redhat.com Cc: xbing6@gmail.com Signed-off-by: Xuebing Wang Reviewed-By: Alex Bligh --- qemu-timer.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/qemu-timer.c b/qemu-timer.c index e592c14..21aff82 100644 --- a/qemu-timer.c +++ b/qemu-timer.c @@ -22,13 +22,10 @@ * THE SOFTWARE. */ -#include "sysemu/sysemu.h" -#include "monitor/monitor.h" -#include "ui/console.h" - -#include "hw/hw.h" - +#include "qemu/thread.h" /* for qemu_event_init() etc */ +#include "qemu/main-loop.h" /* for qemu_notify_event() */ #include "qemu/timer.h" + #ifdef CONFIG_POSIX #include #endif -- 1.7.9.5