diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-10-09 09:33:29 +0200 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-10-19 23:13:28 +0200 |
| commit | 49909a0d0336fa682049544f284bbeda6f02c4ac (patch) | |
| tree | a4551548671f8a32fa068e0da12e68531ccc7ddb /hw/intc/apic_common.c | |
| parent | 305ab2b9716551e486cbdcff111610a2cf8da095 (diff) | |
| download | focaccia-qemu-49909a0d0336fa682049544f284bbeda6f02c4ac.tar.gz focaccia-qemu-49909a0d0336fa682049544f284bbeda6f02c4ac.zip | |
hw/pci: Clean up global variable shadowing of address_space_io variable
Fix:
hw/pci/pci.c:504:54: error: declaration shadows a variable in the global scope [-Werror,-Wshadow]
MemoryRegion *address_space_io,
^
hw/pci/pci.c:533:38: error: declaration shadows a variable in the global scope [-Werror,-Wshadow]
MemoryRegion *address_space_io,
^
hw/pci/pci.c:543:40: error: declaration shadows a variable in the global scope [-Werror,-Wshadow]
MemoryRegion *address_space_io,
^
hw/pci/pci.c:590:45: error: declaration shadows a variable in the global scope [-Werror,-Wshadow]
MemoryRegion *address_space_io,
^
include/exec/address-spaces.h:35:21: note: previous declaration is here
extern AddressSpace address_space_io;
^
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20231010115048.11856-6-philmd@linaro.org>
Diffstat (limited to 'hw/intc/apic_common.c')
0 files changed, 0 insertions, 0 deletions