scripts: Add new clean-includes script to fix C include directives
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 7 Dec 2015 16:23:43 +0000 (16:23 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 18 Jan 2016 16:33:32 +0000 (16:33 +0000)
commit85071702ebc52dd3f11a5a095166e8f445e9041d
tree4f4c55ba19835c035f4ef9f4ec4d5ab67a581360
parent46188349ad7e23abef0e453d2b0406985f6552a1
scripts: Add new clean-includes script to fix C include directives

Add a new scripts/clean-includes, which can be used to automatically
ensure that a C source file includes qemu/osdep.h first and doesn't
then include any headers which osdep.h provides already.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Message-id: 1449505425-32022-2-git-send-email-peter.maydell@linaro.org
scripts/clean-includes [new file with mode: 0755]