From mboxrd@z Thu Jan 1 00:00:00 1970 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) Sender: Richard Henderson From: Richard Henderson Date: Tue, 23 Feb 2016 10:33:08 -0800 Message-Id: <1456252389-4416-8-git-send-email-rth@twiddle.net> In-Reply-To: <1456252389-4416-1-git-send-email-rth@twiddle.net> References: <1456252389-4416-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PULL 7/8] scripts/clean-includes: Ignore .inc.c files List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.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(+) 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 ;; -- 2.5.0