]> Git Repo - qemu.git/commit - crypto/ivgen-essiv.c
include/crypto: Include qapi-types.h or qemu/bswap.h instead of qemu-common.h
authorMarkus Armbruster <[email protected]>
Fri, 11 Mar 2016 08:20:17 +0000 (09:20 +0100)
committerPaolo Bonzini <[email protected]>
Tue, 22 Mar 2016 21:20:16 +0000 (22:20 +0100)
commit7136fc1da2690a2a8a6444311484283de0190065
treebcad8d018a0270d375104e3b9eb29d0d5d82f407
parentbd36a618ccb61ea0fddb92e75f3754c4e1a7fbfe
include/crypto: Include qapi-types.h or qemu/bswap.h instead of qemu-common.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."

Several include/crypto/ headers include qemu-common.h, but either need
just qapi-types.h from it, or qemu/bswap.h, or nothing at all.  Replace or
drop the include accordingly.  tests/test-crypto-secret.c now misses
qemu/module.h, so include it there.

Signed-off-by: Markus Armbruster <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
crypto/ivgen-essiv.c
crypto/ivgen-plain.c
crypto/ivgen-plain64.c
include/crypto/cipher.h
include/crypto/hash.h
include/crypto/init.h
include/crypto/secret.h
include/crypto/tlscreds.h
tests/test-crypto-secret.c
This page took 0.024855 seconds and 4 git commands to generate.