From patchwork Tue Feb 23 18:33:08 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 62753 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp1984481lbl; Tue, 23 Feb 2016 10:38:14 -0800 (PST) X-Received: by 10.140.254.9 with SMTP id z9mr45617915qhc.5.1456252694367; Tue, 23 Feb 2016 10:38:14 -0800 (PST) Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id t79si10046691qkt.80.2016.02.23.10.38.14 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 23 Feb 2016 10:38:14 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dkim=fail header.i=@gmail.com Received: from localhost ([::1]:59267 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYHqf-00081j-7p for patch@linaro.org; Tue, 23 Feb 2016 13:38:13 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37600) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYHmT-0001WX-8J for qemu-devel@nongnu.org; Tue, 23 Feb 2016 13:33:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYHmQ-0001LB-Tf for qemu-devel@nongnu.org; Tue, 23 Feb 2016 13:33:53 -0500 Received: from mail-qg0-x233.google.com ([2607:f8b0:400d:c04::233]:34660) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYHmQ-0001L6-Pi for qemu-devel@nongnu.org; Tue, 23 Feb 2016 13:33:50 -0500 Received: by mail-qg0-x233.google.com with SMTP id b67so143497122qgb.1 for ; Tue, 23 Feb 2016 10:33:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=NgIHdXL8svkxwEfVbbD5yfdeqIpaNhiH/5p5rvKRDJ8=; b=0brWU/EPBQmCNRCbx0PDUstkAO7LJKe/DXBXdTA1tM4TIPENMDFtih6gml8FjswX6d dGBXN3FzcQawmgEEnafDc+X2PQ/sy+mlr1WnbkLz4IXdBAwW7doT8nTtIa8c7I7wCgRZ km3WN0FDdFS7u48vftVy2O31BPR1XrGpFmS4lqIBVJjVCAkwZrIhktM8Zd7ZIL4fFtv6 i2vJYpui1X83CAa0eDpIkSY5jcrrRSLNjSTlyITRbOWQHRzNbFQZOwmOfx/SHGePmJMR mphRShrrgBX+QtSkUbNr7TFP6bVCbx9W/rZBWaXoiS4G5o1dbCcO7i0hCBgfkDPFVzGK q9Zg== 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:cc:subject:date:message-id :in-reply-to:references; bh=NgIHdXL8svkxwEfVbbD5yfdeqIpaNhiH/5p5rvKRDJ8=; b=EJyTA0Kfk4AYJmOLeNTyEkXOB4ki2as07KEFtLYjLjhDV78EvkrBSX7aLH8MQUWU9/ nw6inixAr6I4TZFLQLEaNl/jiXaXC2GJjALTA+3+BFUOFtTTjEC8DWQMtBKdfHY/LT9U YFEuU6hJ0MUBL2IxTcBaq2Xcy8kRplW497qHTzvYAySeilN6JVXzoyasxK77cqjqL00h R3+98eD3AGSRHW682375GDuFt2i0KR0wYVTcjvlAQ4jc4TBho8MTsb/5BuaELr85+jDd +i4LAr/6qTNFso6yZt37o0awtZyv+F2Dp1NnDWUKihY/OV8JiltfEuRKPC6mkbnMMruA G++g== X-Gm-Message-State: AG10YOT7+zZVpbSIVqh8BvP7WcpyQfGYfD9YOGqHBd9IkMoEL/Iv8BzcrB171Uq99eXDoQ== X-Received: by 10.140.94.46 with SMTP id f43mr43051413qge.95.1456252430383; Tue, 23 Feb 2016 10:33:50 -0800 (PST) Received: from anchor.com (50-194-63-110-static.hfc.comcastbusiness.net. [50.194.63.110]) by smtp.gmail.com with ESMTPSA id 3sm8920181qgy.43.2016.02.23.10.33.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Feb 2016 10:33:50 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Date: Tue, 23 Feb 2016 10:33:08 -0800 Message-Id: <1456252389-4416-8-git-send-email-rth@twiddle.net> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1456252389-4416-1-git-send-email-rth@twiddle.net> References: <1456252389-4416-1-git-send-email-rth@twiddle.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400d:c04::233 Cc: peter.maydell@linaro.org Subject: [Qemu-devel] [PULL 7/8] scripts/clean-includes: Ignore .inc.c files 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Peter Maydell Ignore files which have a .inc.c extension -- these are not headers but they are not standalone C source files either, so we can't make any automated decisions about what #include directives they should have. Reviewed-by: Eric Blake Signed-off-by: Peter Maydell Message-Id: <1456238983-10160-3-git-send-email-peter.maydell@linaro.org> Signed-off-by: Richard Henderson --- scripts/clean-includes | 5 +++++ 1 file changed, 5 insertions(+) -- 2.5.0 diff --git a/scripts/clean-includes b/scripts/clean-includes index d2dd7ae..a1faa60 100755 --- a/scripts/clean-includes +++ b/scripts/clean-includes @@ -94,6 +94,11 @@ EOT for f in "$@"; do case "$f" in + *.inc.c) + # These aren't standalone C source files + echo "SKIPPING $f (not a standalone source file)" + continue + ;; *.c) MODE=c ;;