aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2015-07-21 19:31:00 +0100
committerPeter Maydell <peter.maydell@linaro.org>2015-07-21 19:43:11 +0100
commitd8a10977a83bf351436904f32a1ac9a4fee25df5 (patch)
tree8f81a4733b425953f7d4bc9ac9ed1d0722c73177
parenta1bc040dabc12039944e22d9529f20d6132400dd (diff)
downloadqemu-arm-d8a10977a83bf351436904f32a1ac9a4fee25df5.tar.gz
qapi/qmp-event.c: Don't manually include os-win32.h/os-posix.h
qmp-event.c already includes qemu-common.h, so manually including os-win32.h/os-posix.h is unnecessary (and potentially fragile, since it's duplicating the #ifdef logic that chooses which of the two we need). Remove the unnecessary include logic. Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--qapi/qmp-event.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/qapi/qmp-event.c b/qapi/qmp-event.c
index 0d1ce0bd18..c0e435f994 100644
--- a/qapi/qmp-event.c
+++ b/qapi/qmp-event.c
@@ -18,14 +18,6 @@
#include "qapi/qmp/qstring.h"
#include "qapi/qmp/qjson.h"
-#ifdef _WIN32
-#include "sysemu/os-win32.h"
-#endif
-
-#ifdef CONFIG_POSIX
-#include "sysemu/os-posix.h"
-#endif
-
static QMPEventFuncEmit qmp_emit;
void qmp_event_set_func_emit(QMPEventFuncEmit emit)