diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2017-03-03 17:28:50 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2017-03-04 15:14:34 +0000 |
commit | eeb61d4f8270a6849d9a584fc83da3869b79066d (patch) | |
tree | 54a9a3123389a0091017d67cd33f063575d474b7 /include/hw/ppc/xics.h | |
parent | 4ae4b609ee2d5bcc9df6c03c21dc1fed527aada1 (diff) |
ppc: avoid typedef redefinitions
These cause compilation failures on CentOS 6 or other operating
systems with older GCCs.
Cc: David Gibson <dgibson@redhat.com>
Cc: qemu-ppc@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1488558530-21016-3-git-send-email-pbonzini@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw/ppc/xics.h')
-rw-r--r-- | include/hw/ppc/xics.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hw/ppc/xics.h b/include/hw/ppc/xics.h index 1945913bf1..9a5e715fe5 100644 --- a/include/hw/ppc/xics.h +++ b/include/hw/ppc/xics.h @@ -139,9 +139,9 @@ struct ICSIRQState { uint8_t flags; }; -typedef struct XICSFabric { +struct XICSFabric { Object parent; -} XICSFabric; +}; #define TYPE_XICS_FABRIC "xics-fabric" #define XICS_FABRIC(obj) \ |