From patchwork Fri Jan 29 17:50:01 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 8165921 Return-Path: X-Original-To: patchwork-qemu-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id ED4FCBEEE5 for ; Fri, 29 Jan 2016 18:02:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4036B20361 for ; Fri, 29 Jan 2016 18:02:41 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 679EF20108 for ; Fri, 29 Jan 2016 18:02:40 +0000 (UTC) Received: from localhost ([::1]:35925 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPDNX-0001Ut-Lz for patchwork-qemu-devel@patchwork.kernel.org; Fri, 29 Jan 2016 13:02:39 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51747) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPDBS-00030p-Tu for qemu-devel@nongnu.org; Fri, 29 Jan 2016 12:50:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aPDBR-0001vQ-6H for qemu-devel@nongnu.org; Fri, 29 Jan 2016 12:50:10 -0500 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:59685) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPDBQ-0001uk-Vl for qemu-devel@nongnu.org; Fri, 29 Jan 2016 12:50:09 -0500 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1aPDBO-0001Rj-3a; Fri, 29 Jan 2016 17:50:06 +0000 From: Peter Maydell To: qemu-devel@nongnu.org Date: Fri, 29 Jan 2016 17:50:01 +0000 Message-Id: <1454089805-5470-12-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1454089805-5470-1-git-send-email-peter.maydell@linaro.org> References: <1454089805-5470-1-git-send-email-peter.maydell@linaro.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 2001:8b0:1d0::1 Cc: patches@linaro.org Subject: [Qemu-devel] [PATCH 11/15] qobject: Clean up includes X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Clean up includes so that osdep.h is included first and headers which it implies are not included manually. This commit was created with scripts/clean-includes. Signed-off-by: Peter Maydell Reviewed-by: Eric Blake --- qobject/json-lexer.c | 2 +- qobject/json-parser.c | 2 +- qobject/json-streamer.c | 1 + qobject/qbool.c | 1 + qobject/qdict.c | 1 + qobject/qfloat.c | 1 + qobject/qint.c | 1 + qobject/qjson.c | 1 + qobject/qlist.c | 1 + qobject/qnull.c | 1 + qobject/qobject.c | 1 + qobject/qstring.c | 1 + 12 files changed, 12 insertions(+), 2 deletions(-) diff --git a/qobject/json-lexer.c b/qobject/json-lexer.c index 92798ae..496374d9 100644 --- a/qobject/json-lexer.c +++ b/qobject/json-lexer.c @@ -11,9 +11,9 @@ * */ +#include "qemu/osdep.h" #include "qemu-common.h" #include "qapi/qmp/json-lexer.h" -#include #define MAX_TOKEN_SIZE (64ULL << 20) diff --git a/qobject/json-parser.c b/qobject/json-parser.c index 3c5d35d..77c9382 100644 --- a/qobject/json-parser.c +++ b/qobject/json-parser.c @@ -11,7 +11,7 @@ * */ -#include +#include "qemu/osdep.h" #include "qemu-common.h" #include "qapi/qmp/qstring.h" diff --git a/qobject/json-streamer.c b/qobject/json-streamer.c index a4db4b8..0251685 100644 --- a/qobject/json-streamer.c +++ b/qobject/json-streamer.c @@ -11,6 +11,7 @@ * */ +#include "qemu/osdep.h" #include "qemu-common.h" #include "qapi/qmp/json-lexer.h" #include "qapi/qmp/json-streamer.h" diff --git a/qobject/qbool.c b/qobject/qbool.c index 856c743..0606bbd 100644 --- a/qobject/qbool.c +++ b/qobject/qbool.c @@ -11,6 +11,7 @@ * */ +#include "qemu/osdep.h" #include "qapi/qmp/qbool.h" #include "qapi/qmp/qobject.h" #include "qemu-common.h" diff --git a/qobject/qdict.c b/qobject/qdict.c index 19df837..9833bd0 100644 --- a/qobject/qdict.c +++ b/qobject/qdict.c @@ -10,6 +10,7 @@ * See the COPYING.LIB file in the top-level directory. */ +#include "qemu/osdep.h" #include "qapi/qmp/qint.h" #include "qapi/qmp/qfloat.h" #include "qapi/qmp/qdict.h" diff --git a/qobject/qfloat.c b/qobject/qfloat.c index 87d89a7..d5da847 100644 --- a/qobject/qfloat.c +++ b/qobject/qfloat.c @@ -11,6 +11,7 @@ * */ +#include "qemu/osdep.h" #include "qapi/qmp/qfloat.h" #include "qapi/qmp/qobject.h" #include "qemu-common.h" diff --git a/qobject/qint.c b/qobject/qint.c index 7cba9ad..d7d1b30 100644 --- a/qobject/qint.c +++ b/qobject/qint.c @@ -10,6 +10,7 @@ * See the COPYING.LIB file in the top-level directory. */ +#include "qemu/osdep.h" #include "qapi/qmp/qint.h" #include "qapi/qmp/qobject.h" #include "qemu-common.h" diff --git a/qobject/qjson.c b/qobject/qjson.c index a3e6a7c..b8cc4ca 100644 --- a/qobject/qjson.c +++ b/qobject/qjson.c @@ -11,6 +11,7 @@ * */ +#include "qemu/osdep.h" #include "qapi/qmp/json-lexer.h" #include "qapi/qmp/json-parser.h" #include "qapi/qmp/json-streamer.h" diff --git a/qobject/qlist.c b/qobject/qlist.c index 3c045ae..1ec74de 100644 --- a/qobject/qlist.c +++ b/qobject/qlist.c @@ -10,6 +10,7 @@ * See the COPYING.LIB file in the top-level directory. */ +#include "qemu/osdep.h" #include "qapi/qmp/qlist.h" #include "qapi/qmp/qobject.h" #include "qemu/queue.h" diff --git a/qobject/qnull.c b/qobject/qnull.c index 5f7ba4d..c124d05 100644 --- a/qobject/qnull.c +++ b/qobject/qnull.c @@ -10,6 +10,7 @@ * or later. See the COPYING.LIB file in the top-level directory. */ +#include "qemu/osdep.h" #include "qemu-common.h" #include "qapi/qmp/qobject.h" diff --git a/qobject/qobject.c b/qobject/qobject.c index a3ef14e..cd41fb9 100644 --- a/qobject/qobject.c +++ b/qobject/qobject.c @@ -7,6 +7,7 @@ * or later. See the COPYING.LIB file in the top-level directory. */ +#include "qemu/osdep.h" #include "qemu-common.h" #include "qapi/qmp/qbool.h" #include "qapi/qmp/qdict.h" diff --git a/qobject/qstring.c b/qobject/qstring.c index f44c5c4..5da7b5f 100644 --- a/qobject/qstring.c +++ b/qobject/qstring.c @@ -10,6 +10,7 @@ * See the COPYING.LIB file in the top-level directory. */ +#include "qemu/osdep.h" #include "qapi/qmp/qobject.h" #include "qapi/qmp/qstring.h" #include "qemu-common.h"