From patchwork Fri Jan 29 17:49:56 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 8166111 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 D25BEBEEE5 for ; Fri, 29 Jan 2016 18:17:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E3F51203E1 for ; Fri, 29 Jan 2016 18:17:55 +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 E1DDF203DC for ; Fri, 29 Jan 2016 18:17:54 +0000 (UTC) Received: from localhost ([::1]:36079 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPDcH-0003Yi-V9 for patchwork-qemu-devel@patchwork.kernel.org; Fri, 29 Jan 2016 13:17:53 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59977) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPDc7-0003YL-Tx for qemu-devel@nongnu.org; Fri, 29 Jan 2016 13:17:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aPDc6-0002Hf-M7 for qemu-devel@nongnu.org; Fri, 29 Jan 2016 13:17:43 -0500 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:59702) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPDc6-0002HG-Ed for qemu-devel@nongnu.org; Fri, 29 Jan 2016 13:17:42 -0500 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1aPDBN-0001R5-Rq; Fri, 29 Jan 2016 17:50:05 +0000 From: Peter Maydell To: qemu-devel@nongnu.org Date: Fri, 29 Jan 2016 17:49:56 +0000 Message-Id: <1454089805-5470-7-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 06/15] disas: 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/hppa.c | 1 + disas/i386.c | 2 +- disas/ia64.c | 3 +-- disas/m68k.c | 3 +-- disas/s390.c | 1 + disas/sparc.c | 2 +- disas/tci.c | 1 + 7 files changed, 7 insertions(+), 6 deletions(-) diff --git a/disas/hppa.c b/disas/hppa.c index c7c8be6..43facdc 100644 --- a/disas/hppa.c +++ b/disas/hppa.c @@ -18,6 +18,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, see . */ +#include "qemu/osdep.h" #include "disas/bfd.h" /* HP PA-RISC SOM object file format: definitions internal to BFD. diff --git a/disas/i386.c b/disas/i386.c index c63d4a0..d40b72a 100644 --- a/disas/i386.c +++ b/disas/i386.c @@ -31,7 +31,7 @@ and the small letter tells about the operand size. Refer to the Intel manual for details. */ -#include +#include "qemu/osdep.h" #include "disas/bfd.h" /* include/opcode/i386.h r1.78 */ diff --git a/disas/ia64.c b/disas/ia64.c index d7c7bdf..140754c 100644 --- a/disas/ia64.c +++ b/disas/ia64.c @@ -18,7 +18,7 @@ along with this file; see the file COPYING. If not, see . */ -#include +#include "qemu/osdep.h" #include "disas/bfd.h" @@ -27,7 +27,6 @@ Free Software Foundation, Inc. Contributed by David Mosberger-Tang */ -#include typedef uint64_t ia64_insn; diff --git a/disas/m68k.c b/disas/m68k.c index cc0db96..0412ecd 100644 --- a/disas/m68k.c +++ b/disas/m68k.c @@ -1,9 +1,8 @@ /* This file is composed of several different files from the upstream sourceware.org CVS. Original file boundaries marked with **** */ -#include +#include "qemu/osdep.h" #include -#include #include "disas/bfd.h" diff --git a/disas/s390.c b/disas/s390.c index c29bc4e..1f167d2 100644 --- a/disas/s390.c +++ b/disas/s390.c @@ -20,6 +20,7 @@ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ +#include "qemu/osdep.h" #include "qemu-common.h" #include "disas/bfd.h" diff --git a/disas/sparc.c b/disas/sparc.c index 59a1e36..64bba8d 100644 --- a/disas/sparc.c +++ b/disas/sparc.c @@ -26,7 +26,7 @@ along with GAS or GDB; see the file COPYING. If not, see . */ -#include +#include "qemu/osdep.h" #include "disas/bfd.h" /* The SPARC opcode table (and other related data) is defined in diff --git a/disas/tci.c b/disas/tci.c index d7b954e..1cdf5ee 100644 --- a/disas/tci.c +++ b/disas/tci.c @@ -17,6 +17,7 @@ * along with this program. If not, see . */ +#include "qemu/osdep.h" #include "qemu-common.h" #include "disas/bfd.h" #include "tcg/tcg.h"