From patchwork Wed Mar 16 10:46:49 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 8598471 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 C630AC0553 for ; Wed, 16 Mar 2016 11:10:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 31507202AE for ; Wed, 16 Mar 2016 11:10:00 +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 8663F20218 for ; Wed, 16 Mar 2016 11:09:59 +0000 (UTC) Received: from localhost ([::1]:55127 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ag9Kw-0001QZ-R9 for patchwork-qemu-devel@patchwork.kernel.org; Wed, 16 Mar 2016 07:09:58 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37275) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ag8zS-0003gb-8R for qemu-devel@nongnu.org; Wed, 16 Mar 2016 06:47:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ag8zR-0002IZ-Cn for qemu-devel@nongnu.org; Wed, 16 Mar 2016 06:47:46 -0400 Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]:34307) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ag8zR-0002HR-6U for qemu-devel@nongnu.org; Wed, 16 Mar 2016 06:47:45 -0400 Received: by mail-wm0-x22b.google.com with SMTP id p65so183602282wmp.1 for ; Wed, 16 Mar 2016 03:47:45 -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=/mY4MyvPi65J+gX/iqMMdAdZ3HjpilBjxGeOz6yJk2Y=; b=bOiOLaID4SP7D/O/4zqYPoBro7JY9aA9kjDRG4E+ixed7SmXis4TextPEmqBYp9u8L NK5WMggJjaX92PtfUSkTOOlHFKLE1hHiglE4FvisGgH4/LqEz/XfCFLaBr6s/RYczFf2 w/gDpX2Ak7kB6WyrRyGZkPH3hSnhavJhXEwAHgxXPF2lsqgU32/ZVifQmtY6ZqQWyY2R vJGPmduHiYNRtkM8piekn+oqS9/xStuiD3bt2sA9J+pbIuFMPDhut0PCK0ifQWODTUX5 OVDCf66EoQ4R8XufVgquWhGsS62qV5Bs0Bre5QLSXRBZ3cbJWuEeo9pUNjRJ/MJEPQQW Wu7w== 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=/mY4MyvPi65J+gX/iqMMdAdZ3HjpilBjxGeOz6yJk2Y=; b=KEuNPoUENCuECoNrpLCpl6G2mr5xDmEU8T1EkBrH7NblZyTfaFS0UPpQGLqHBin3/I 7gRUa1blDUkxcrTuGWKz7GvhhsptV7PShZHoy4BoPsBIevg1nGOyUiYEze/LRfPktpSD vKTNlgEn0TiptTcsNPR5SjwkS7SodONpjU+w2u0eIDiuYi8d+i7Tc7yst9/d9b4UHx7q Ozpmej08e5z3doPTSLPlfJVUrdinuCYl90ddXtza6Y/0hiWHxuMghWOijlvpJdO+NJWq 8N3/l85CiC1Ez7UyRjy+rt33NNEk6K1N+X8MX7H+N8undsyaglAvlBSf82kr5svW7LM/ bCsg== X-Gm-Message-State: AD7BkJKFW+xBD5bO7mPfx0xwWPkY1Bbiq6qO4VBTF/GyuKLKnFXUx4EdUY+lyrw1+Za8+w== X-Received: by 10.194.47.133 with SMTP id d5mr3150919wjn.87.1458125264581; Wed, 16 Mar 2016 03:47:44 -0700 (PDT) Received: from 640k.lan (94-39-161-17.adsl-ull.clienti.tiscali.it. [94.39.161.17]) by smtp.gmail.com with ESMTPSA id wr2sm2418094wjc.49.2016.03.16.03.47.43 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 16 Mar 2016 03:47:43 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Wed, 16 Mar 2016 11:46:49 +0100 Message-Id: <1458125219-131698-40-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1458125219-131698-1-git-send-email-pbonzini@redhat.com> References: <1458125219-131698-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::22b Subject: [Qemu-devel] [PATCH 39/49] gdbstub: remove includes from gdbstub-xml.c 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.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham 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 gdbstub-xml.c defines a bunch of arrays of strings; there is no need to include anything. Signed-off-by: Paolo Bonzini --- scripts/feature_to_c.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/feature_to_c.sh b/scripts/feature_to_c.sh index fb1f336..0994d95 100644 --- a/scripts/feature_to_c.sh +++ b/scripts/feature_to_c.sh @@ -36,9 +36,6 @@ for input; do arrayname=xml_feature_`echo $input | sed 's,.*/,,; s/[-.]/_/g'` ${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