summaryrefslogtreecommitdiff
path: root/lib9p/9p.generated.c
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-12-21 21:39:02 -0700
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-12-26 18:10:09 -0700
commit5fafccfcd54e0e309f084ff3891d0239250cfde3 (patch)
tree59334741aa0210dbe164891f942ec571edb472c9 /lib9p/9p.generated.c
parentd018906715b395e0fb9624cbd5b7fbf1c0e3f559 (diff)
lib9p: idl.gen: Add a c_macro helper
Diffstat (limited to 'lib9p/9p.generated.c')
-rw-r--r--lib9p/9p.generated.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib9p/9p.generated.c b/lib9p/9p.generated.c
index d3dc36a..373d95e 100644
--- a/lib9p/9p.generated.c
+++ b/lib9p/9p.generated.c
@@ -1784,15 +1784,15 @@ LM_FLATTEN static bool marshal_Rswrite(struct _marshal_ctx *ctx, struct lib9p_ms
/* tables / exports ***********************************************************/
-#define _MSG(typ) [LIB9P_TYP_##typ] = { \
- .name = #typ, \
- .basesize = sizeof(struct lib9p_msg_##typ), \
- .validate = validate_##typ, \
- .unmarshal = (_unmarshal_fn_t)unmarshal_##typ, \
- .marshal = (_marshal_fn_t)marshal_##typ, \
+#define _MSG(typ) [LIB9P_TYP_##typ] = { \
+ .name = #typ, \
+ .basesize = sizeof(struct lib9p_msg_##typ), \
+ .validate = validate_##typ, \
+ .unmarshal = (_unmarshal_fn_t)unmarshal_##typ, \
+ .marshal = (_marshal_fn_t)marshal_##typ, \
}
-#define _NONMSG(num) [num] = { \
- .name = #num, \
+#define _NONMSG(num) [num] = { \
+ .name = #num, \
}
struct _table_version _lib9p_versions[LIB9P_VER_NUM] = {