diff options
author | Eric Blake <eblake@redhat.com> | 2016-01-29 06:48:53 -0700 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:32:24 -0600 |
commit | 0581a76b5cb6beebf085378d5c051bc985c185da (patch) | |
tree | 700d123cc3be373d01ae1227c23b8f08e53a3495 /hw/misc | |
parent | 3af261e31df224216212b0a8be60655906529fb7 (diff) | |
download | hqemu-0581a76b5cb6beebf085378d5c051bc985c185da.zip hqemu-0581a76b5cb6beebf085378d5c051bc985c185da.tar.gz |
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')
-rw-r--r-- | hw/misc/edu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/misc/edu.c b/hw/misc/edu.c index 2639c64..65e8f20 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; |