diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-06-05 13:18:45 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-06-05 13:18:45 +0000 |
commit | 4e3e9d0b4d31cc7966147543634c3476aec52d21 (patch) | |
tree | af82fe27da1e1d467e571928758204053f3e3c69 /hw/cirrus_vga.c | |
parent | 358c6407216f4c3b86f91352f7a1fdc19b4494e4 (diff) |
avoid using anonymous struct extension (not supported by all gcc 3.x)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@896 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/cirrus_vga.c')
-rw-r--r-- | hw/cirrus_vga.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/cirrus_vga.c b/hw/cirrus_vga.c index 0bf8e9f172..eae0804ead 100644 --- a/hw/cirrus_vga.c +++ b/hw/cirrus_vga.c @@ -205,8 +205,7 @@ typedef void (*cirrus_bitblt_rop_t) (uint8_t * dst, const uint8_t * src, typedef void (*cirrus_bitblt_handler_t) (void *opaque); typedef struct CirrusVGAState { - /* XXX: we use the anonymous struct/union gcc 3.x extension */ - __extension__ struct VGAState; + VGA_STATE_COMMON int cirrus_linear_io_addr; int cirrus_mmio_io_addr; |