From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40040) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5ECW-0000NN-Cn for qemu-devel@nongnu.org; Tue, 24 May 2016 11:24:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b5ECQ-0004Uh-DT for qemu-devel@nongnu.org; Tue, 24 May 2016 11:24:55 -0400 Received: from orth.archaic.org.uk ([81.2.115.148]:49459) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5ECQ-0004Ty-74 for qemu-devel@nongnu.org; Tue, 24 May 2016 11:24:50 -0400 From: Peter Maydell Date: Tue, 24 May 2016 16:24:36 +0100 Message-Id: <1464103479-26913-2-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1464103479-26913-1-git-send-email-peter.maydell@linaro.org> References: <1464103479-26913-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH 1/4] clean-includes: Add glib.h to list of unneeded includes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: patches@linaro.org, qemu-trivial@nongnu.org osdep.h pulls in glib.h via glib-compat.h, so add it to the list of includes that we remove. (This then means we must avoid running clean-includes on glib-compat.h or it will delete the glib.h include.) Signed-off-by: Peter Maydell --- scripts/clean-includes | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/clean-includes b/scripts/clean-includes index 72b47f1..23d70a0 100755 --- a/scripts/clean-includes +++ b/scripts/clean-includes @@ -104,6 +104,7 @@ for f in "$@"; do ;; *include/qemu/osdep.h | \ *include/qemu/compiler.h | \ + *include/glib-compat.h | \ *include/standard-headers/ ) # Removing include lines from osdep.h itself would be counterproductive. echo "SKIPPING $f (special case header)" @@ -143,7 +144,7 @@ for f in "$@"; do - + "sysemu/os-posix.h, sysemu/os-win32.h "glib-compat.h" "qemu/typedefs.h" ))' "$f" -- 1.9.1