]> www.infradead.org Git - users/dwmw2/qemu.git/commit
swim: Rename struct SWIM to Swim
authorEduardo Habkost <ehabkost@redhat.com>
Tue, 25 Aug 2020 19:20:45 +0000 (15:20 -0400)
committerEduardo Habkost <ehabkost@redhat.com>
Thu, 27 Aug 2020 18:04:55 +0000 (14:04 -0400)
commitb694ed1f56ade7e2fa0951718c9cdce78b892ddf
tree06c58d89889ad0a18288cd0d5c932f44a31045a8
parentb1af5872ff02e5793a94973960d2a68eb6812f94
swim: Rename struct SWIM to Swim

Currently we have a SWIM typedef and a SWIM type checking macro,
but OBJECT_DECLARE* would transform the SWIM macro into a
function, and the function name would conflict with the SWIM
typedef name.

Rename the struct and typedef to "Swim". This will make future
conversion to OBJECT_DECLARE* easier.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Acked-by: Laurent Vivier <laurent@vivier.eu>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-50-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/block/swim.c
include/hw/block/swim.h