summaryrefslogtreecommitdiffstats
path: root/hw/misc/edu.c
diff options
context:
space:
mode:
authorEric Blake2016-01-29 14:48:53 +0100
committerMarkus Armbruster2016-02-08 17:29:56 +0100
commit4fa45492c3387c0fa51e8e81160ac9a7814f44a2 (patch)
tree89fa28d3c27f1722e2eaa591cef9b6e54eb01d3a /hw/misc/edu.c
parentqapi: Don't cast Enum* to int* (diff)
downloadqemu-4fa45492c3387c0fa51e8e81160ac9a7814f44a2.tar.gz
qemu-4fa45492c3387c0fa51e8e81160ac9a7814f44a2.tar.xz
qemu-4fa45492c3387c0fa51e8e81160ac9a7814f44a2.zip
qom: Use typedef for Visitor
No need to repeat 'struct Visitor' when we already have it in typedefs.h. Omitting the redundant 'struct' also makes a later patch easier to search for all object property callbacks that are associated with a Visitor. Signed-off-by: Eric Blake <eblake@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <1454075341-13658-18-git-send-email-eblake@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'hw/misc/edu.c')
-rw-r--r--hw/misc/edu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/misc/edu.c b/hw/misc/edu.c
index 2639c64253..65e8f20e85 100644
--- a/hw/misc/edu.c
+++ b/hw/misc/edu.c
@@ -363,8 +363,8 @@ static void pci_edu_uninit(PCIDevice *pdev)
timer_del(&edu->dma_timer);
}
-static void edu_obj_uint64(Object *obj, struct Visitor *v, void *opaque,
- const char *name, Error **errp)
+static void edu_obj_uint64(Object *obj, Visitor *v, void *opaque,
+ const char *name, Error **errp)
{
uint64_t *val = opaque;