typedefs: Restrict PCMachineState to 'hw/i386/pc.h'
commitc8ed1cd7843c17a264dd578b3220c6398904858a
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Tue, 8 Sep 2020 15:55:30 +0000 (8 17:55 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 30 Sep 2020 17:11:36 +0000 (30 19:11 +0200)
tree6f1fb0770cda0d2d66e47af603b9ca093832c171
parentc834596f7916c3ec0719c1ab341186bae17ebba0
typedefs: Restrict PCMachineState to 'hw/i386/pc.h'

The PCMachineState type is only used under hw/i386/.
We don't need to forward-declare it for all architectures,
restrict it to the X86 one.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200908155530.249806-7-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/hw/i386/pc.h
include/qemu/typedefs.h