To comply with QEMU coding style.
Signed-off-by: Greg Kurz <groug@kaod.org>
#define P9_IOHDRSZ 24
typedef struct V9fsPDU V9fsPDU;
-struct V9fsState;
+typedef struct V9fsState V9fsState;
typedef struct {
uint32_t size_le;
uint8_t id;
uint8_t cancelled;
CoQueue complete;
- struct V9fsState *s;
+ V9fsState *s;
QLIST_ENTRY(V9fsPDU) next;
uint32_t idx;
};
V9fsFidState *rclm_lst;
};
-typedef struct V9fsState
+struct V9fsState
{
QLIST_HEAD(, V9fsPDU) free_list;
QLIST_HEAD(, V9fsPDU) active_list;
Error *migration_blocker;
V9fsConf fsconf;
V9fsQID root_qid;
-} V9fsState;
+};
/* 9p2000.L open flags */
#define P9_DOTL_RDONLY 00000000