From fa357459f88bb8f0170d1a68df66e7d068d59996 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Fri, 27 Sep 2024 20:45:36 -0600 Subject: fixes --- lib9p/types.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'lib9p/types.c') 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, }, - }, + }}, }; -- cgit v1.2.3-2-g168b