qapi: Clean up includes in generated files
commit9167ebd98f97dee8afa3ee206f1f48244b8707d2
authorEric Blake <eblake@redhat.com>
Mon, 8 Feb 2016 15:36:46 +0000 (8 08:36 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 16 Feb 2016 14:29:27 +0000 (16 14:29 +0000)
treef1a886bb90301366e32dd4d195e8f6379ebe3cb8
parent681c28a33e305923a717815808056d2d5a89c8f9
qapi: Clean up includes in generated files

As a followup to commit cbf2115, clean up the includes in files
generated by QAPI so that osdep.h is included first in .c files,
and headers which it implies are not included manually.  This
patch is done manually, since Coccinelle (and therefore
scripts/clean-includes) doesn't see into the generator scripts.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
scripts/qapi-commands.py
scripts/qapi-event.py
scripts/qapi-introspect.py
scripts/qapi-types.py
scripts/qapi-visit.py