From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40239) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYEHc-0007gu-3J for qemu-devel@nongnu.org; Tue, 23 Feb 2016 09:49:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYEHb-0000AL-AU for qemu-devel@nongnu.org; Tue, 23 Feb 2016 09:49:48 -0500 Received: from orth.archaic.org.uk ([2001:8b0:1d0::2]:55929) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYEHb-0000AG-3q for qemu-devel@nongnu.org; Tue, 23 Feb 2016 09:49:47 -0500 From: Peter Maydell Date: Tue, 23 Feb 2016 14:49:42 +0000 Message-Id: <1456238983-10160-3-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1456238983-10160-1-git-send-email-peter.maydell@linaro.org> References: <1456238983-10160-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH 2/3] 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: Richard Henderson , patches@linaro.org 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. Signed-off-by: Peter Maydell --- scripts/clean-includes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/clean-includes b/scripts/clean-includes index 8a3f398..177d253 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 ;; -- 1.9.1