Commit eeb61d4f authored by Paolo Bonzini's avatar Paolo Bonzini Committed by Peter Maydell
Browse files

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: default avatarPaolo Bonzini <pbonzini@redhat.com>
Message-id: 1488558530-21016-3-git-send-email-pbonzini@redhat.com
Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
parent 4ae4b609
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -21,7 +21,6 @@ typedef struct sPAPREventSource sPAPREventSource;
#define SPAPR_TIMEBASE_FREQ     512000000ULL

typedef struct sPAPRMachineClass sPAPRMachineClass;
typedef struct sPAPRMachineState sPAPRMachineState;

#define TYPE_SPAPR_MACHINE      "spapr-machine"
#define SPAPR_MACHINE(obj) \
+2 −2
Original line number Diff line number Diff line
@@ -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)                                     \