diff options
Diffstat (limited to 'include/sysemu/rng-random.h')
-rw-r--r-- | include/sysemu/rng-random.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sysemu/rng-random.h b/include/sysemu/rng-random.h index 87e82dd..58033ac 100644 --- a/include/sysemu/rng-random.h +++ b/include/sysemu/rng-random.h @@ -16,7 +16,8 @@ #define TYPE_RNG_RANDOM "rng-random" typedef struct RngRandom RngRandom; -#define RNG_RANDOM(obj) OBJECT_CHECK(RngRandom, (obj), TYPE_RNG_RANDOM) +DECLARE_INSTANCE_CHECKER(RngRandom, RNG_RANDOM, + TYPE_RNG_RANDOM) #endif |