mirror of https://github.com/xemu-project/xemu.git
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> Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
4c4a29cb68
commit
38e20cac66
|
@ -18,14 +18,6 @@
|
||||||
#include "qapi/qmp/qstring.h"
|
#include "qapi/qmp/qstring.h"
|
||||||
#include "qapi/qmp/qjson.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;
|
static QMPEventFuncEmit qmp_emit;
|
||||||
|
|
||||||
void qmp_event_set_func_emit(QMPEventFuncEmit emit)
|
void qmp_event_set_func_emit(QMPEventFuncEmit emit)
|
||||||
|
|
Loading…
Reference in New Issue