From 8aa17b12f29536ea9c8b6ca22c7f153e8d90fa3b Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 10 Apr 2022 15:39:41 +0300 Subject: add clang format and run it --- common/uapi/mem.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'common/uapi/mem.c') diff --git a/common/uapi/mem.c b/common/uapi/mem.c index 0a88eda..f54131f 100644 --- a/common/uapi/mem.c +++ b/common/uapi/mem.c @@ -5,7 +5,8 @@ vm_t sys_req_mem(vm_t size, vm_t flags, vm_t u0, vm_t u1) { - UNUSED(u0); UNUSED(u1); + UNUSED(u0); + UNUSED(u1); /* proc_tcb should give the tcb of the TID currently running */ struct tcb *r = cur_tcb(); return alloc_uvmem(r, size, flags); @@ -20,9 +21,11 @@ vm_t sys_req_fixmem(vm_t start, vm_t size, vm_t flags, vm_t u0) vm_t sys_free_mem(vm_t start, vm_t u0, vm_t u1, vm_t u2) { - UNUSED(u0); UNUSED(u1); UNUSED(u2); + UNUSED(u0); + UNUSED(u1); + UNUSED(u2); struct tcb *r = cur_tcb(); - if(start > __pre_top && start < __post_base) + if (start > __pre_top && start < __post_base) free_uvmem(r, start); else free_devmem(r, start); -- cgit v1.3