From b096078c282af7233062ba242a213e6f5574cfb1 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Mon, 23 May 2022 20:40:53 +0300 Subject: switch from clang-format to uncrustify The output is close enough, and I like that uncrustify is a third-party tool, so people can install a single tool for formatting instead of having to lug around a whole toolchain. I fully expect to have to add settings to uncrustify.conf, but let's see how this goes. --- common/elf.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'common/elf.c') diff --git a/common/elf.c b/common/elf.c index e60b21f..97d8fd7 100644 --- a/common/elf.c +++ b/common/elf.c @@ -61,10 +61,10 @@ static void __map_exec(struct tcb *t, vm_t bin, uint8_t ei_c, vm_t phstart, * TODO: also fix, this modifies only the first region. Create new * function? * - pm_t paddr = 0; - stat_vpage(t->b_r, va, &paddr, 0, 0); - mod_vpage(t->b_r, va, paddr, uvflags); - */ + pm_t paddr = 0; + stat_vpage(t->b_r, va, &paddr, 0, 0); + mod_vpage(t->b_r, va, paddr, uvflags); + */ } } -- cgit v1.3