summaryrefslogtreecommitdiff
path: root/lib9p/types.c
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-09-27 20:45:36 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-09-27 20:45:36 -0600
commitfa357459f88bb8f0170d1a68df66e7d068d59996 (patch)
tree8585b5755ae224c6609f982d973141f1f6bad97b /lib9p/types.c
parentd54ddec236bf9bdb8c032cd5fbdb0aa46ffebe86 (diff)
fixes
Diffstat (limited to 'lib9p/types.c')
-rw-r--r--lib9p/types.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib9p/types.c b/lib9p/types.c
index c006d69..deceb4e 100644
--- a/lib9p/types.c
+++ b/lib9p/types.c
@@ -786,7 +786,7 @@ static bool marshal_Rswrite(struct _marshal_ctx *ctx, struct lib9p_msg_Rswrite *
/* vtables ********************************************************************/
struct _vtable_version _lib9p_vtables[LIB9P_VER_NUM] = {
- [LIB9P_VER_UNINITIALIZED] = {
+ [LIB9P_VER_UNINITIALIZED] = { .msgs = {
[LIB9P_TYP_Tversion] = {
r.unmarshal_basesize = sizeof(struct lib9p_msg_Tversion),
r.unmarshal_extrasize = checksize_Tversion,
@@ -799,8 +799,8 @@ struct _vtable_version _lib9p_vtables[LIB9P_VER_NUM] = {
r.unmarshal = unmarshal_Rversion,
r.marshal = (_marshal_fn_t)marshal_Rversion,
},
- },
- [LIB9P_VER_9P2000] = {
+ }},
+ [LIB9P_VER_9P2000] = { .msgs = {
[LIB9P_TYP_Tversion] = {
r.unmarshal_basesize = sizeof(struct lib9p_msg_Tversion),
r.unmarshal_extrasize = checksize_Tversion,
@@ -963,8 +963,8 @@ struct _vtable_version _lib9p_vtables[LIB9P_VER_NUM] = {
r.unmarshal = unmarshal_Rwstat,
r.marshal = (_marshal_fn_t)marshal_Rwstat,
},
- },
- [LIB9P_VER_9P2000_e] = {
+ }},
+ [LIB9P_VER_9P2000_e] = { .msgs = {
[LIB9P_TYP_Tversion] = {
r.unmarshal_basesize = sizeof(struct lib9p_msg_Tversion),
r.unmarshal_extrasize = checksize_Tversion,
@@ -1163,8 +1163,8 @@ struct _vtable_version _lib9p_vtables[LIB9P_VER_NUM] = {
r.unmarshal = unmarshal_Rswrite,
r.marshal = (_marshal_fn_t)marshal_Rswrite,
},
- },
- [LIB9P_VER_9P2000_u] = {
+ }},
+ [LIB9P_VER_9P2000_u] = { .msgs = {
[LIB9P_TYP_Tversion] = {
r.unmarshal_basesize = sizeof(struct lib9p_msg_Tversion),
r.unmarshal_extrasize = checksize_Tversion,
@@ -1327,5 +1327,5 @@ struct _vtable_version _lib9p_vtables[LIB9P_VER_NUM] = {
r.unmarshal = unmarshal_Rwstat,
r.marshal = (_marshal_fn_t)marshal_Rwstat,
},
- },
+ }},
};