From patchwork Tue Feb 23 12:41:24 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 8391331 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 9C5699F52D for ; Tue, 23 Feb 2016 12:41:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 082E9202BE for ; Tue, 23 Feb 2016 12:41:45 +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 48E1A20270 for ; Tue, 23 Feb 2016 12:41:44 +0000 (UTC) Received: from localhost ([::1]:56686 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYCHf-0006D0-Kv for patchwork-qemu-devel@patchwork.kernel.org; Tue, 23 Feb 2016 07:41:43 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60491) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYCHU-0006Cn-Kg for qemu-devel@nongnu.org; Tue, 23 Feb 2016 07:41:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYCHT-0007Ud-Mg for qemu-devel@nongnu.org; Tue, 23 Feb 2016 07:41:32 -0500 Received: from orth.archaic.org.uk ([2001:8b0:1d0::2]:55914) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYCHT-0007U1-GG for qemu-devel@nongnu.org; Tue, 23 Feb 2016 07:41:31 -0500 Received: from pm215 by orth.archaic.org.uk with local (Exim 4.84) (envelope-from ) id 1aYCHR-0001nm-Aw; Tue, 23 Feb 2016 12:41:29 +0000 From: Peter Maydell To: qemu-devel@nongnu.org Date: Tue, 23 Feb 2016 12:41:24 +0000 Message-Id: <1456231284-11163-1-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.9.1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:8b0:1d0::2 Cc: patches@linaro.org Subject: [Qemu-devel] [PATCH] all: 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 --- This just catches a couple of stragglers since I posted the last clean-includes patchset last week. I'm going to apply things to master directly shortly... hw/vfio/amd-xgbe.c | 1 + tests/boot-sector.c | 3 +-- tests/pxe-test.c | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/hw/vfio/amd-xgbe.c b/hw/vfio/amd-xgbe.c index 53451eb..2c60310 100644 --- a/hw/vfio/amd-xgbe.c +++ b/hw/vfio/amd-xgbe.c @@ -11,6 +11,7 @@ * */ +#include "qemu/osdep.h" #include "hw/vfio/vfio-amd-xgbe.h" static void amd_xgbe_realize(DeviceState *dev, Error **errp) diff --git a/tests/boot-sector.c b/tests/boot-sector.c index 0b48bb3..3ffe298 100644 --- a/tests/boot-sector.c +++ b/tests/boot-sector.c @@ -10,9 +10,8 @@ * 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 "boot-sector.h" -#include -#include #include "qemu-common.h" #include "libqtest.h" diff --git a/tests/pxe-test.c b/tests/pxe-test.c index fa43095..875e4c4 100644 --- a/tests/pxe-test.c +++ b/tests/pxe-test.c @@ -11,8 +11,7 @@ * See the COPYING file in the top-level directory. */ -#include -#include +#include "qemu/osdep.h" #include #include #include "qemu-common.h"