From bd8833bebbd9b6f34fab4d71dcf58ccea67cf09d Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sun, 23 Jun 2024 18:18:07 +0200 Subject: Formatting --- src/arena.c | 3 ++- src/codegen.c | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/arena.c b/src/arena.c index e7091fb..880befd 100644 --- a/src/arena.c +++ b/src/arena.c @@ -137,7 +137,8 @@ mkblk(size_t cap) if (a == NULL) err("malloc:"); a->cap = cap; - a->data = mmap(NULL, cap, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0); + a->data = mmap(NULL, cap, PROT_READ | PROT_WRITE, + MAP_PRIVATE | MAP_ANON, -1, 0); if (a->data == MAP_FAILED) err("mmap:"); a->free = a->data; diff --git a/src/codegen.c b/src/codegen.c index 1431693..3bb3155 100644 --- a/src/codegen.c +++ b/src/codegen.c @@ -135,8 +135,8 @@ codegenstmt(struct cgctx ctx, mpq_t *folds, type_t *types, ast_t ast, } LLVMValueRef v; - i = codegentypedexpr(ctx, folds, types, ast, aux, toks, expr, types[i], - &v); + i = codegentypedexpr(ctx, folds, types, ast, aux, + toks, expr, types[i], &v); (void)LLVMBuildRet(ctx.bob, v); return i; } -- cgit v1.2.3