From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49807) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIID1-0004LW-KV for qemu-devel@nongnu.org; Tue, 25 Feb 2014 08:38:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WIICt-0004lK-7O for qemu-devel@nongnu.org; Tue, 25 Feb 2014 08:38:07 -0500 Received: from mail-pa0-x235.google.com ([2607:f8b0:400e:c03::235]:63903) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIICt-0004lF-02 for qemu-devel@nongnu.org; Tue, 25 Feb 2014 08:37:59 -0500 Received: by mail-pa0-f53.google.com with SMTP id lj1so8072246pab.12 for ; Tue, 25 Feb 2014 05:37:58 -0800 (PST) From: Xuebing Wang Date: Tue, 25 Feb 2014 21:36:54 +0800 Message-Id: <1393335414-27589-8-git-send-email-xbing6@gmail.com> In-Reply-To: <1393335414-27589-1-git-send-email-xbing6@gmail.com> References: <1393335414-27589-1-git-send-email-xbing6@gmail.com> Subject: [Qemu-devel] [PATCH 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 Cc: pbonzini@redhat.com, xbing6@gmail.com, stefanha@redhat.com, alex@alex.org.uk Signed-off-by: Xuebing Wang --- 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