mirror of https://gitee.com/openkylin/qemu.git
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>
This commit is contained in:
parent
4ae4b609ee
commit
eeb61d4f82
|
@ -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) \
|
||||
|
|
|
@ -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) \
|
||||
|
|
Loading…
Reference in New Issue