throttle-groups: Move ThrottleGroup typedef to header
authorEduardo Habkost <ehabkost@redhat.com>
Tue, 25 Aug 2020 19:20:12 +0000 (15:20 -0400)
committerEduardo Habkost <ehabkost@redhat.com>
Thu, 27 Aug 2020 18:04:54 +0000 (14:04 -0400)
commit7c9dcd6cabfa96ea2a89dd12041f3e63aa20a09c
tree32f8a6643e30f4da63f58648c17946389d926cd1
parent57af4d7fbcd0e9cf28f35d9480c0831d5657d9f2
throttle-groups: Move ThrottleGroup typedef to header

Move typedef closer to the type check macros, to make it easier
to convert the code to OBJECT_DEFINE_TYPE() in the future.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-17-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
block/throttle-groups.c
include/block/throttle-groups.h