aboutsummaryrefslogtreecommitdiff
path: root/include/sysemu/rng-random.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sysemu/rng-random.h')
-rw-r--r--include/sysemu/rng-random.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/sysemu/rng-random.h b/include/sysemu/rng-random.h
index 58033ac3fe..0fdc6c6974 100644
--- a/include/sysemu/rng-random.h
+++ b/include/sysemu/rng-random.h
@@ -15,9 +15,7 @@
#include "qom/object.h"
#define TYPE_RNG_RANDOM "rng-random"
-typedef struct RngRandom RngRandom;
-DECLARE_INSTANCE_CHECKER(RngRandom, RNG_RANDOM,
- TYPE_RNG_RANDOM)
+OBJECT_DECLARE_SIMPLE_TYPE(RngRandom, RNG_RANDOM)
#endif