From patchwork Tue Jan 26 18:17:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 8125791 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 447D59F859 for ; Tue, 26 Jan 2016 18:22:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5A0EE202AE for ; Tue, 26 Jan 2016 18:22:05 +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 5C0912028D for ; Tue, 26 Jan 2016 18:22:04 +0000 (UTC) Received: from localhost ([::1]:45879 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aO8Ff-0005SB-Jh for patchwork-qemu-devel@patchwork.kernel.org; Tue, 26 Jan 2016 13:22:03 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35554) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aO8BM-0006Fy-V2 for qemu-devel@nongnu.org; Tue, 26 Jan 2016 13:17:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aO8BL-0007Vj-H3 for qemu-devel@nongnu.org; Tue, 26 Jan 2016 13:17:36 -0500 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:59628) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aO8BL-0007UI-9E for qemu-devel@nongnu.org; Tue, 26 Jan 2016 13:17:35 -0500 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1aO8BI-0000FK-5o; Tue, 26 Jan 2016 18:17:32 +0000 From: Peter Maydell To: qemu-devel@nongnu.org Date: Tue, 26 Jan 2016 18:17:25 +0000 Message-Id: <1453832250-766-33-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 32/37] moxie: 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 --- disas/moxie.c | 2 +- hw/moxie/moxiesim.c | 1 + target-moxie/cpu.c | 1 + target-moxie/helper.c | 4 +--- target-moxie/machine.c | 1 + target-moxie/mmu.c | 5 +---- target-moxie/translate.c | 6 +----- 7 files changed, 7 insertions(+), 13 deletions(-) diff --git a/disas/moxie.c b/disas/moxie.c index 4c5f180..70b49ed 100644 --- a/disas/moxie.c +++ b/disas/moxie.c @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, see . */ -#include +#include "qemu/osdep.h" #define STATIC_TABLE #define DEFINE_TABLE diff --git a/hw/moxie/moxiesim.c b/hw/moxie/moxiesim.c index ada3d58..9191ae9 100644 --- a/hw/moxie/moxiesim.c +++ b/hw/moxie/moxiesim.c @@ -24,6 +24,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "hw/sysbus.h" #include "hw/hw.h" #include "hw/i386/pc.h" diff --git a/target-moxie/cpu.c b/target-moxie/cpu.c index 0c60c65..b33c2b3 100644 --- a/target-moxie/cpu.c +++ b/target-moxie/cpu.c @@ -17,6 +17,7 @@ * along with this program. If not, see . */ +#include "qemu/osdep.h" #include "cpu.h" #include "qemu-common.h" #include "migration/vmstate.h" diff --git a/target-moxie/helper.c b/target-moxie/helper.c index f91ac28..d51e9b9 100644 --- a/target-moxie/helper.c +++ b/target-moxie/helper.c @@ -17,10 +17,8 @@ * along with this program. If not, see . */ -#include -#include +#include "qemu/osdep.h" -#include "config.h" #include "cpu.h" #include "mmu.h" #include "exec/exec-all.h" diff --git a/target-moxie/machine.c b/target-moxie/machine.c index b9316f0..912b791 100644 --- a/target-moxie/machine.c +++ b/target-moxie/machine.c @@ -1,3 +1,4 @@ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/boards.h" #include "machine.h" diff --git a/target-moxie/mmu.c b/target-moxie/mmu.c index 5217eed..9203330 100644 --- a/target-moxie/mmu.c +++ b/target-moxie/mmu.c @@ -17,11 +17,8 @@ * along with this program. If not, see . */ -#include -#include -#include +#include "qemu/osdep.h" -#include "config.h" #include "cpu.h" #include "mmu.h" #include "exec/exec-all.h" diff --git a/target-moxie/translate.c b/target-moxie/translate.c index 6dedcb7..229ce3b 100644 --- a/target-moxie/translate.c +++ b/target-moxie/translate.c @@ -21,11 +21,7 @@ * http://moxielogic.org/wiki */ -#include -#include -#include -#include -#include +#include "qemu/osdep.h" #include "cpu.h" #include "exec/exec-all.h"