From patchwork Tue Jan 26 18:17:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 8125711 Return-Path: X-Original-To: patchwork-qemu-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id F278C9F859 for ; Tue, 26 Jan 2016 18:17:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AFF73202AE for ; Tue, 26 Jan 2016 18:17:56 +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 6D1792028D for ; Tue, 26 Jan 2016 18:17:55 +0000 (UTC) Received: from localhost ([::1]:45838 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aO8Be-0006P2-Mo for patchwork-qemu-devel@patchwork.kernel.org; Tue, 26 Jan 2016 13:17:54 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35487) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aO8BL-0006FG-BX for qemu-devel@nongnu.org; Tue, 26 Jan 2016 13:17:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aO8BK-0007V3-4t for qemu-devel@nongnu.org; Tue, 26 Jan 2016 13:17:35 -0500 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:59628) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aO8BJ-0007UI-Sy for qemu-devel@nongnu.org; Tue, 26 Jan 2016 13:17:34 -0500 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1aO8BI-0000Fi-C3; Tue, 26 Jan 2016 18:17:32 +0000 From: Peter Maydell To: qemu-devel@nongnu.org Date: Tue, 26 Jan 2016 18:17:29 +0000 Message-Id: <1453832250-766-37-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1453832250-766-1-git-send-email-peter.maydell@linaro.org> References: <1453832250-766-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 36/37] hw/core: 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 --- hw/core/empty_slot.c | 1 + hw/core/fw-path-provider.c | 1 + hw/core/hotplug.c | 1 + hw/core/irq.c | 1 + hw/core/loader.c | 1 + hw/core/machine.c | 1 + hw/core/nmi.c | 1 + hw/core/null-machine.c | 1 + hw/core/platform-bus.c | 1 + hw/core/ptimer.c | 1 + hw/core/qdev-properties-system.c | 1 + hw/core/qdev-properties.c | 1 + hw/core/qdev.c | 2 +- hw/core/stream.c | 1 + hw/core/sysbus.c | 1 + 15 files changed, 15 insertions(+), 1 deletion(-) diff --git a/hw/core/empty_slot.c b/hw/core/empty_slot.c index 612b109..c1b9c2b 100644 --- a/hw/core/empty_slot.c +++ b/hw/core/empty_slot.c @@ -9,6 +9,7 @@ * version. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" #include "hw/empty_slot.h" diff --git a/hw/core/fw-path-provider.c b/hw/core/fw-path-provider.c index 7442d32..33b9983 100644 --- a/hw/core/fw-path-provider.c +++ b/hw/core/fw-path-provider.c @@ -15,6 +15,7 @@ * along with this program; if not, see . */ +#include "qemu/osdep.h" #include "hw/fw-path-provider.h" char *fw_path_provider_get_dev_path(FWPathProvider *p, BusState *bus, diff --git a/hw/core/hotplug.c b/hw/core/hotplug.c index 4e01074..645cfca 100644 --- a/hw/core/hotplug.c +++ b/hw/core/hotplug.c @@ -9,6 +9,7 @@ * This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. */ +#include "qemu/osdep.h" #include "hw/hotplug.h" #include "qemu/module.h" diff --git a/hw/core/irq.c b/hw/core/irq.c index 8a62a36..49ff2e6 100644 --- a/hw/core/irq.c +++ b/hw/core/irq.c @@ -21,6 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "qemu-common.h" #include "hw/irq.h" #include "qom/object.h" diff --git a/hw/core/loader.c b/hw/core/loader.c index 6b69852..3a57415 100644 --- a/hw/core/loader.c +++ b/hw/core/loader.c @@ -42,6 +42,7 @@ * with this program; if not, see . */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "disas/disas.h" #include "monitor/monitor.h" diff --git a/hw/core/machine.c b/hw/core/machine.c index c46ddc7..1261368 100644 --- a/hw/core/machine.c +++ b/hw/core/machine.c @@ -10,6 +10,7 @@ * See the COPYING file in the top-level directory. */ +#include "qemu/osdep.h" #include "hw/boards.h" #include "qapi-visit.h" #include "qapi/visitor.h" diff --git a/hw/core/nmi.c b/hw/core/nmi.c index 4057cdd..6ca569b 100644 --- a/hw/core/nmi.c +++ b/hw/core/nmi.c @@ -19,6 +19,7 @@ * along with this program; if not, see . */ +#include "qemu/osdep.h" #include "hw/nmi.h" #include "qapi/qmp/qerror.h" #include "monitor/monitor.h" diff --git a/hw/core/null-machine.c b/hw/core/null-machine.c index f36fbf2..0351ba7 100644 --- a/hw/core/null-machine.c +++ b/hw/core/null-machine.c @@ -11,6 +11,7 @@ * */ +#include "qemu/osdep.h" #include "qemu-common.h" #include "hw/hw.h" #include "hw/boards.h" diff --git a/hw/core/platform-bus.c b/hw/core/platform-bus.c index aa55d01..36f84ab 100644 --- a/hw/core/platform-bus.c +++ b/hw/core/platform-bus.c @@ -19,6 +19,7 @@ * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "hw/platform-bus.h" #include "exec/address-spaces.h" #include "qemu/error-report.h" diff --git a/hw/core/ptimer.c b/hw/core/ptimer.c index edf077c..153c835 100644 --- a/hw/core/ptimer.c +++ b/hw/core/ptimer.c @@ -5,6 +5,7 @@ * * This code is licensed under the GNU LGPL. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "qemu/timer.h" #include "hw/ptimer.h" diff --git a/hw/core/qdev-properties-system.c b/hw/core/qdev-properties-system.c index 1589aba..ff00f5c 100644 --- a/hw/core/qdev-properties-system.c +++ b/hw/core/qdev-properties-system.c @@ -10,6 +10,7 @@ * See the COPYING file in the top-level directory. */ +#include "qemu/osdep.h" #include "net/net.h" #include "hw/qdev.h" #include "qapi/qmp/qerror.h" diff --git a/hw/core/qdev-properties.c b/hw/core/qdev-properties.c index 3572810..c1d1e80 100644 --- a/hw/core/qdev-properties.c +++ b/hw/core/qdev-properties.c @@ -1,3 +1,4 @@ +#include "qemu/osdep.h" #include "net/net.h" #include "hw/qdev.h" #include "qapi/qmp/qerror.h" diff --git a/hw/core/qdev.c b/hw/core/qdev.c index 655f5d5..779de2b 100644 --- a/hw/core/qdev.c +++ b/hw/core/qdev.c @@ -25,10 +25,10 @@ inherit from a particular bus (e.g. PCI or I2C) rather than this API directly. */ +#include "qemu/osdep.h" #include "hw/qdev.h" #include "hw/fw-path-provider.h" #include "sysemu/sysemu.h" -#include "qapi/error.h" #include "qapi/qmp/qerror.h" #include "qapi/visitor.h" #include "qapi/qmp/qjson.h" diff --git a/hw/core/stream.c b/hw/core/stream.c index e6a05a5..4439ecd 100644 --- a/hw/core/stream.c +++ b/hw/core/stream.c @@ -1,3 +1,4 @@ +#include "qemu/osdep.h" #include "hw/stream.h" size_t diff --git a/hw/core/sysbus.c b/hw/core/sysbus.c index 3c58629..a7dbe2b 100644 --- a/hw/core/sysbus.c +++ b/hw/core/sysbus.c @@ -17,6 +17,7 @@ * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "hw/sysbus.h" #include "monitor/monitor.h" #include "exec/address-spaces.h"