From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45995) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHx83-0007gn-4H for qemu-devel@nongnu.org; Wed, 22 Jul 2015 12:44:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHx81-0004dh-Lj for qemu-devel@nongnu.org; Wed, 22 Jul 2015 12:44:23 -0400 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:34676) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHx81-0004ZT-FM for qemu-devel@nongnu.org; Wed, 22 Jul 2015 12:44:21 -0400 From: Peter Maydell Date: Wed, 22 Jul 2015 17:44:00 +0100 Message-Id: <1437583451-9677-2-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1437583451-9677-1-git-send-email-peter.maydell@linaro.org> References: <1437583451-9677-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH 01/12] qapi/qmp-event.c: Don't manually include os-win32.h/os-posix.h List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: patches@linaro.org 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 --- qapi/qmp-event.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/qapi/qmp-event.c b/qapi/qmp-event.c index 0d1ce0b..c0e435f 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) -- 1.9.1