summary refs log tree commit diff stats
path: root/net/util.h
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-02-23 11:58:02 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-02-23 12:43:05 +0000
commitfd3e39a40ca2ee26b09a5de3149af8b056b85233 (patch)
treec8eb224e292f05141699a91ce45e76173c253da8 /net/util.h
parente78490c44ccd90507750a563493bad6d27e3693a (diff)
downloadfocaccia-qemu-fd3e39a40ca2ee26b09a5de3149af8b056b85233.tar.gz
focaccia-qemu-fd3e39a40ca2ee26b09a5de3149af8b056b85233.zip
scripts/clean-includes: Enhance to handle header files
Enhance clean-includes to handle header files as well as .c source
files. For headers we merely remove all the redundant #include
lines, including any includes of qemu/osdep.h itself.

There is a simple mollyguard on the include file processing to
skip a few key headers like osdep.h itself, to avoid producing
bad patches if the script is run on every file in include/.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'net/util.h')
0 files changed, 0 insertions, 0 deletions