]> git.ipfire.org Git - thirdparty/qemu.git/blobdiff - include/sysemu/iothread.h
Move QOM typedefs and add missing includes
[thirdparty/qemu.git] / include / sysemu / iothread.h
index 61814864017476071fde1eca94ebd338757cc97e..42902ffb9fafcc037ab8f187e8ad26930ec7e2c9 100644 (file)
@@ -20,7 +20,7 @@
 
 #define TYPE_IOTHREAD "iothread"
 
-typedef struct {
+struct IOThread {
     Object parent_obj;
 
     QemuThread thread;
@@ -37,7 +37,8 @@ typedef struct {
     int64_t poll_max_ns;
     int64_t poll_grow;
     int64_t poll_shrink;
-} IOThread;
+};
+typedef struct IOThread IOThread;
 
 #define IOTHREAD(obj) \
    OBJECT_CHECK(IOThread, obj, TYPE_IOTHREAD)