aboutsummaryrefslogtreecommitdiff
path: root/include/sysemu/vhost-user-backend.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sysemu/vhost-user-backend.h')
-rw-r--r--include/sysemu/vhost-user-backend.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/sysemu/vhost-user-backend.h b/include/sysemu/vhost-user-backend.h
index e4c85e33c0..76ca06cf40 100644
--- a/include/sysemu/vhost-user-backend.h
+++ b/include/sysemu/vhost-user-backend.h
@@ -22,10 +22,8 @@
#include "io/channel.h"
#define TYPE_VHOST_USER_BACKEND "vhost-user-backend"
-typedef struct VhostUserBackend VhostUserBackend;
-typedef struct VhostUserBackendClass VhostUserBackendClass;
-DECLARE_OBJ_CHECKERS(VhostUserBackend, VhostUserBackendClass,
- VHOST_USER_BACKEND, TYPE_VHOST_USER_BACKEND)
+OBJECT_DECLARE_TYPE(VhostUserBackend, VhostUserBackendClass,
+ vhost_user_backend, VHOST_USER_BACKEND)
struct VhostUserBackendClass {