mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
sifive: Use DECLARE_*CHECKER* macros
$ ./scripts/codeconverter/converter.py -i \ --pattern=TypeCheckMacro $(git grep -l '' -- '*.[ch]') Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Message-Id: <20200831210740.126168-12-ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
This commit is contained in:
parent
ac900edeed
commit
e38d3c5ce5
7 changed files with 14 additions and 13 deletions
|
@ -25,8 +25,8 @@
|
|||
#define TYPE_SIFIVE_TEST "riscv.sifive.test"
|
||||
|
||||
typedef struct SiFiveTestState SiFiveTestState;
|
||||
#define SIFIVE_TEST(obj) \
|
||||
OBJECT_CHECK(SiFiveTestState, (obj), TYPE_SIFIVE_TEST)
|
||||
DECLARE_INSTANCE_CHECKER(SiFiveTestState, SIFIVE_TEST,
|
||||
TYPE_SIFIVE_TEST)
|
||||
|
||||
struct SiFiveTestState {
|
||||
/*< private >*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue