[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 7/7] timer: clean unnecessary #include and use minim
From: |
Xuebing Wang |
Subject: |
[Qemu-devel] [PATCH 7/7] timer: clean unnecessary #include and use minimal required #include |
Date: |
Tue, 25 Feb 2014 21:36:54 +0800 |
Signed-off-by: Xuebing Wang <address@hidden>
---
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 <pthread.h>
#endif
--
1.7.9.5
- [Qemu-devel] [PATCH 0/7] timer: move APIs together according to their category, Xuebing Wang, 2014/02/25
- [Qemu-devel] [PATCH 1/7] timer: move QEMUTimerList functions together, Xuebing Wang, 2014/02/25
- [Qemu-devel] [PATCH 2/7] timer: make QEMUTimerLi st functions private (remove from APIs), Xuebing Wang, 2014/02/25
- [Qemu-devel] [PATCH 3/7] timer: move QEMUClockType related functions together, Xuebing Wang, 2014/02/25
- [Qemu-devel] [PATCH 4/7] timer: move QEMUTimerListGroup function to be below QEMUClockType, Xuebing Wang, 2014/02/25
- [Qemu-devel] [PATCH 5/7] timer: move QEMUTimer related functions together, Xuebing Wang, 2014/02/25
- [Qemu-devel] [PATCH 6/7] timer: move general utility functions together, Xuebing Wang, 2014/02/25
- [Qemu-devel] [PATCH 7/7] timer: clean unnecessary #include and use minimal required #include,
Xuebing Wang <=
- Re: [Qemu-devel] [PATCH 0/7] timer: move APIs together according to their category, Alex Bligh, 2014/02/25
- Re: [Qemu-devel] [PATCH 0/7] timer: move APIs together according to their category, Alex Bligh, 2014/02/27