diff options
Diffstat (limited to 'hw/net/sungem.c')
-rw-r--r-- | hw/net/sungem.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/net/sungem.c b/hw/net/sungem.c index 103a4e1..9175383 100644 --- a/hw/net/sungem.c +++ b/hw/net/sungem.c @@ -24,7 +24,8 @@ #define TYPE_SUNGEM "sungem" typedef struct SunGEMState SunGEMState; -#define SUNGEM(obj) OBJECT_CHECK(SunGEMState, (obj), TYPE_SUNGEM) +DECLARE_INSTANCE_CHECKER(SunGEMState, SUNGEM, + TYPE_SUNGEM) #define MAX_PACKET_SIZE 9016 |