diff options
Diffstat (limited to 'backends/rng-egd.c')
-rw-r--r-- | backends/rng-egd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/rng-egd.c b/backends/rng-egd.c index ee1854f..d905fe6 100644 --- a/backends/rng-egd.c +++ b/backends/rng-egd.c @@ -20,7 +20,8 @@ #define TYPE_RNG_EGD "rng-egd" typedef struct RngEgd RngEgd; -#define RNG_EGD(obj) OBJECT_CHECK(RngEgd, (obj), TYPE_RNG_EGD) +DECLARE_INSTANCE_CHECKER(RngEgd, RNG_EGD, + TYPE_RNG_EGD) struct RngEgd { RngBackend parent; |