summaryrefslogtreecommitdiffstats
path: root/qemu-io-cmds.c
diff options
context:
space:
mode:
authorMarkus Armbruster2016-03-11 16:27:23 +0100
committerPaolo Bonzini2016-03-22 22:20:16 +0100
commite07e540aaa08718c9ff8213067a3dcef31b3e313 (patch)
treec8bf83d8132061736577456113c3c0b2fb5ad4ef /qemu-io-cmds.c
parentMove HOST_LONG_BITS from qemu-common.h to qemu/osdep.h (diff)
downloadqemu-e07e540aaa08718c9ff8213067a3dcef31b3e313.tar.gz
qemu-e07e540aaa08718c9ff8213067a3dcef31b3e313.tar.xz
qemu-e07e540aaa08718c9ff8213067a3dcef31b3e313.zip
Move QEMU_ALIGN_*() from qemu-common.h to qemu/osdep.h
qemu-common.h should only be included by .c files. Its file comment explains why: "No header file should depend on qemu-common.h, as this would easily lead to circular header dependencies." One of the reasons for headers to include it is QEMU_ALIGN_UP() and QEMU_ALIGN_DOWN(). Move them next to ROUND_UP() in qemu/osdep.h, to facilitate removing these ill-advised includes later on. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qemu-io-cmds.c')
0 files changed, 0 insertions, 0 deletions