From patchwork Thu May 19 11:18:35 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 9127545 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9B1A5607FC for ; Thu, 19 May 2016 13:02:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AB741281E2 for ; Thu, 19 May 2016 12:26:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A07B4281E5; Thu, 19 May 2016 12:26:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 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.wl.linuxfoundation.org (Postfix) with ESMTPS id 1CF89281E2 for ; Thu, 19 May 2016 12:26:24 +0000 (UTC) Received: from localhost ([::1]:50074 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3N1z-0005UF-AG for patchwork-qemu-devel@patchwork.kernel.org; Thu, 19 May 2016 08:26:23 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37299) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3LzN-0004h1-S7 for qemu-devel@nongnu.org; Thu, 19 May 2016 07:19:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b3LzG-0004HD-WF for qemu-devel@nongnu.org; Thu, 19 May 2016 07:19:37 -0400 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]:36591) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3LzG-0004Gu-Mw for qemu-devel@nongnu.org; Thu, 19 May 2016 07:19:30 -0400 Received: by mail-wm0-x242.google.com with SMTP id w143so20028440wmw.3 for ; Thu, 19 May 2016 04:19:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:in-reply-to:references; bh=8PIz7HQzGYKQ7hG5P3LapW0vkQMh/znlpiCwW20VtO8=; b=SI3l0c8w+tN8wXiq0L9jUuFGuOsoiHYaKqWYfPwM6UtmdBcC+Zu5DSoYqg+67gAbnl mHNn9LUrNsiAfyYrAjzqXJyhLu64rIq0IrZPj3Wl8sxp65ZDGTwnozVVqXoH6fj93sIz bfpf3SntMT3/no2nT3HaduKbyxdBe5F9uH6NHWrIfg6PU45++w6JlEUnzY+xNE4fQY76 h9/PFf72SHq7UhQzBUYejuU6HdJn9WhHjvfGHi6Z1shTs4HKLKmO/xWwn7a/aEAHofWJ yAXKMMpVCOz2XNIVN6b+tei7B+sEUJj2OvBGJRCT80vJvcfSPiGNFSWVYTveUPz6UGB+ LuQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references; bh=8PIz7HQzGYKQ7hG5P3LapW0vkQMh/znlpiCwW20VtO8=; b=dL9RWLJJyOmBenvtOHmGv9V6+jZuE9Tz59KVRAvf8o0hj94j6JkrfziPRm3NLdLRjP QgIsVufl+0Sb97i3lMplkpmh/h3SE2MNvBaGduW7SGwxRn9uRKjUYdp6QdT3vACsOlGh LCfG7IRf9vG6M2ummDg7IH+fGzq/bMD9lzhMfxf19YQFjsaFf4j7JJXHcI1D0wuAF3dk CgU0F/U8Lc5hPZNC2cktVy9N7fU0JBqQDiSdXhj//8IzLeXgfizboAM4faDSBq0D9Uf6 3ROKVZ8T4SKNPiFwGTonalRfC8+YdqoyA5B20Iy7wWh8tFmJeauCVfTj/9GSD1hL+fXv IfxQ== X-Gm-Message-State: AOPr4FVa1GhuQ+nngb4J1v8bvdhl81VULj1EqrfKFUsGM6hvUCDUinG/T9RVYdAtKBu+7g== X-Received: by 10.195.18.99 with SMTP id gl3mr12771417wjd.162.1463656770182; Thu, 19 May 2016 04:19:30 -0700 (PDT) Received: from 640k.lan (dynamic-adsl-78-12-252-58.clienti.tiscali.it. [78.12.252.58]) by smtp.gmail.com with ESMTPSA id c7sm8374317wji.38.2016.05.19.04.19.29 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 May 2016 04:19:29 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Thu, 19 May 2016 13:18:35 +0200 Message-Id: <1463656726-35952-42-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1463656726-35952-1-git-send-email-pbonzini@redhat.com> References: <1463656726-35952-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::242 Subject: [Qemu-devel] [PULL 41/52] gdbstub: remove unnecessary includes from gdbstub-xml.c X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 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" X-Virus-Scanned: ClamAV using ClamSMTP gdbstub-xml.c defines a bunch of arrays of strings; there is no need to include anything. Keep osdep.h for consistency, but remove the rest. Signed-off-by: Paolo Bonzini --- scripts/feature_to_c.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/feature_to_c.sh b/scripts/feature_to_c.sh index fb1f336..e4387b7 100644 --- a/scripts/feature_to_c.sh +++ b/scripts/feature_to_c.sh @@ -37,8 +37,6 @@ for input; do ${AWK:-awk} 'BEGIN { n = 0 printf "#include \"qemu/osdep.h\"\n" - printf "#include \"qemu-common.h\"\n" - printf "#include \"exec/gdbstub.h\"\n" print "static const char '$arrayname'[] = {" for (i = 0; i < 255; i++) _ord_[sprintf("%c", i)] = i