diff options
Diffstat (limited to 'lib9p/types.c')
-rw-r--r-- | lib9p/types.c | 16 |
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, }, - }, + }}, }; |