From f3325003d9b099360a920f300547319f611476f0 Mon Sep 17 00:00:00 2001 From: Conrad Meyer Date: Wed, 20 Jul 2016 22:46:56 +0000 Subject: [PATCH] ANSI-fy imgact_elf.c Sponsored by: EMC / Isilon Storage Division --- sys/kern/imgact_elf.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/sys/kern/imgact_elf.c b/sys/kern/imgact_elf.c index ddc8c042eab4..f8a2fa8d7a8a 100644 --- a/sys/kern/imgact_elf.c +++ b/sys/kern/imgact_elf.c @@ -1449,9 +1449,7 @@ cb_put_phdr(entry, closure) * the number of segments and their total size. */ static void -cb_size_segment(entry, closure) - vm_map_entry_t entry; - void *closure; +cb_size_segment(vm_map_entry_t entry, void *closure) { struct sseg_closure *ssc = (struct sseg_closure *)closure; @@ -1465,10 +1463,7 @@ cb_size_segment(entry, closure) * caller-supplied data. */ static void -each_writable_segment(td, func, closure) - struct thread *td; - segment_callback func; - void *closure; +each_writable_segment(struct thread *td, segment_callback func, void *closure) { struct proc *p = td->td_proc; vm_map_t map = &p->p_vmspace->vm_map;