]> git.proxmox.com Git - qemu.git/blobdiff - iohandler.c
Merge remote-tracking branch 'riku/linux-user-for-upstream' into staging
[qemu.git] / iohandler.c
index 5640d49388b46dcb6a666a542fca2696241db57a..3c74de612b2c647b47b081f57d959e896da08e85 100644 (file)
 #endif
 
 typedef struct IOHandlerRecord {
-    int fd;
     IOCanReadHandler *fd_read_poll;
     IOHandler *fd_read;
     IOHandler *fd_write;
-    int deleted;
     void *opaque;
     QLIST_ENTRY(IOHandlerRecord) next;
+    int fd;
+    bool deleted;
 } IOHandlerRecord;
 
 static QLIST_HEAD(, IOHandlerRecord) io_handlers =