[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] cuda.h: Fix multiple typedef
From: |
Dr. David Alan Gilbert (git) |
Subject: |
[Qemu-devel] [PATCH] cuda.h: Fix multiple typedef |
Date: |
Fri, 16 Feb 2018 17:31:11 +0000 |
From: "Dr. David Alan Gilbert" <address@hidden>
RHEL6's compilers don't like the repeated typedef.
Signed-off-by: Dr. David Alan Gilbert <address@hidden>
---
include/hw/misc/macio/cuda.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/hw/misc/macio/cuda.h b/include/hw/misc/macio/cuda.h
index 6afbdd13ee..494b709579 100644
--- a/include/hw/misc/macio/cuda.h
+++ b/include/hw/misc/macio/cuda.h
@@ -93,12 +93,12 @@ typedef struct CUDAState {
} CUDAState;
/* MOS6522 CUDA */
-typedef struct MOS6522CUDAState {
+struct MOS6522CUDAState {
/*< private >*/
MOS6522State parent_obj;
CUDAState *cuda;
-} MOS6522CUDAState;
+};
#define TYPE_MOS6522_CUDA "mos6522-cuda"
#define MOS6522_CUDA(obj) OBJECT_CHECK(MOS6522CUDAState, (obj), \
--
2.14.3
- [Qemu-devel] [PATCH] cuda.h: Fix multiple typedef,
Dr. David Alan Gilbert (git) <=