include/hw/i386: Don't include qemu-common.h in .h files
The qemu-common.h header is not supposed to be included from any other header files, only from .c files (as documented in a comment at the start of it). include/hw/i386/x86.h and include/hw/i386/microvm.h break this rule. In fact, the include is not required at all, so we can just drop it from both files. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-id: 20211129200510.1233037-2-peter.maydell@linaro.org
This commit is contained in:
parent
e0e875a68a
commit
9cafc0735f
@ -18,7 +18,6 @@
|
||||
#ifndef HW_I386_MICROVM_H
|
||||
#define HW_I386_MICROVM_H
|
||||
|
||||
#include "qemu-common.h"
|
||||
#include "exec/hwaddr.h"
|
||||
#include "qemu/notify.h"
|
||||
|
||||
|
@ -17,7 +17,6 @@
|
||||
#ifndef HW_I386_X86_H
|
||||
#define HW_I386_X86_H
|
||||
|
||||
#include "qemu-common.h"
|
||||
#include "exec/hwaddr.h"
|
||||
#include "qemu/notify.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user