aboutsummaryrefslogtreecommitdiff
path: root/src/rewrite.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2026-05-01 14:40:06 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2026-05-01 14:40:06 +0300
commit7a68d1106b37e16c24e58bc77ce49fc6beadce9c (patch)
treeb0a3bb0b0124294b213cdfd3ae7b214bc32b19f5 /src/rewrite.c
parent48cd04e1a57f076287fb6ecdd0a4236e191ff7d3 (diff)
downloadfwd-7a68d1106b37e16c24e58bc77ce49fc6beadce9c.tar.gz
fwd-7a68d1106b37e16c24e58bc77ce49fc6beadce9c.zip
run formatter
+ Should really get this done automatically somehow
Diffstat (limited to 'src/rewrite.c')
-rw-r--r--src/rewrite.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rewrite.c b/src/rewrite.c
index e3cea01..c5a497a 100644
--- a/src/rewrite.c
+++ b/src/rewrite.c
@@ -36,7 +36,9 @@ static int rewrite_type_visit(struct ast *node, struct type_helper *helper)
int rewrite_types(struct ast *node, char *orig, char *new)
{
struct type_helper helper = {.orig = orig, .new = new};
- return ast_visit((ast_callback_t)rewrite_type_visit, NULL, node, &helper);
+ return ast_visit((ast_callback_t)rewrite_type_visit, NULL, node,
+ &helper
+ );
}
/* not the fastest thing in the world but should work well enough for now */