diff options
Diffstat (limited to 'backends/rng-builtin.c')
-rw-r--r-- | backends/rng-builtin.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/rng-builtin.c b/backends/rng-builtin.c index 4bf073c..459be97 100644 --- a/backends/rng-builtin.c +++ b/backends/rng-builtin.c @@ -12,7 +12,8 @@ #include "qom/object.h" typedef struct RngBuiltin RngBuiltin; -#define RNG_BUILTIN(obj) OBJECT_CHECK(RngBuiltin, (obj), TYPE_RNG_BUILTIN) +DECLARE_INSTANCE_CHECKER(RngBuiltin, RNG_BUILTIN, + TYPE_RNG_BUILTIN) struct RngBuiltin { RngBackend parent; |