From: jsg Date: Sun, 16 May 2021 03:29:35 +0000 (+0000) Subject: ansi X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f26f66d4e52f666d726bf773c47b84b511861a53;p=openbsd ansi --- diff --git a/sys/arch/riscv64/include/pmap.h b/sys/arch/riscv64/include/pmap.h index e9dbbbc915c..8f111381567 100644 --- a/sys/arch/riscv64/include/pmap.h +++ b/sys/arch/riscv64/include/pmap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.h,v 1.5 2021/05/15 14:05:35 deraadt Exp $ */ +/* $OpenBSD: pmap.h,v 1.6 2021/05/16 03:29:35 jsg Exp $ */ /* * Copyright (c) 2019-2020 Brian Bamsch @@ -101,8 +101,8 @@ void pmap_kenter_cache(vaddr_t va, paddr_t pa, vm_prot_t prot, int cacheable); void pmap_page_ro(pmap_t pm, vaddr_t va, vm_prot_t prot); paddr_t pmap_steal_avail(size_t size, int align, void **kva); -void pmap_avail_fixup(); -void pmap_physload_avail(); +void pmap_avail_fixup(void); +void pmap_physload_avail(void); #define PMAP_GROWKERNEL diff --git a/sys/arch/riscv64/riscv64/syscall.c b/sys/arch/riscv64/riscv64/syscall.c index 584726da5b9..abd37b60631 100644 --- a/sys/arch/riscv64/riscv64/syscall.c +++ b/sys/arch/riscv64/riscv64/syscall.c @@ -1,4 +1,4 @@ -/* $OpenBSD: syscall.c,v 1.7 2021/05/15 13:56:56 deraadt Exp $ */ +/* $OpenBSD: syscall.c,v 1.8 2021/05/16 03:29:35 jsg Exp $ */ /* * Copyright (c) 2020 Brian Bamsch @@ -117,8 +117,7 @@ svc_handler(trapframe_t *frame) } void -child_return(arg) - void *arg; +child_return(void *arg) { struct proc *p = arg; struct trapframe *frame = process_frame(p);;