summaryrefslogtreecommitdiffstats
path: root/include/hw/misc/macio/cuda.h
diff options
context:
space:
mode:
authorDr. David Alan Gilbert2018-02-16 18:31:11 +0100
committerPeter Maydell2018-02-16 19:38:21 +0100
commitf0fa81767555fe2c4b5f8c9e0725a80eac1d7f56 (patch)
tree206a9e55122fcd3e2d5ee8ab0788ef4ba53cbb57 /include/hw/misc/macio/cuda.h
parentMerge remote-tracking branch 'remotes/kraxel/tags/ui-20180216-pull-request' i... (diff)
downloadqemu-f0fa81767555fe2c4b5f8c9e0725a80eac1d7f56.tar.gz
qemu-f0fa81767555fe2c4b5f8c9e0725a80eac1d7f56.tar.xz
qemu-f0fa81767555fe2c4b5f8c9e0725a80eac1d7f56.zip
cuda.h: Fix multiple typedef
RHEL6's compilers don't like the repeated typedef. Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw/misc/macio/cuda.h')
-rw-r--r--include/hw/misc/macio/cuda.h4
1 files 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), \