tulip: Move TulipState typedef to header
commit57af4d7fbcd0e9cf28f35d9480c0831d5657d9f2
authorEduardo Habkost <ehabkost@redhat.com>
Tue, 25 Aug 2020 19:20:11 +0000 (25 15:20 -0400)
committerEduardo Habkost <ehabkost@redhat.com>
Thu, 27 Aug 2020 18:04:54 +0000 (27 14:04 -0400)
tree33554bf0d6f3e4009454f2b8566750e26d02078a
parent79f6cf7e5976886d24276afc1fd4a0039e8f5972
tulip: Move TulipState 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-16-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/net/tulip.c
hw/net/tulip.h