git: 102b4e33acef - main - imgact_elf: Rewrap function declaration
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 03 Aug 2024 15:02:56 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=102b4e33acef74da5b1e5aee43a324fd395342c8 commit 102b4e33acef74da5b1e5aee43a324fd395342c8 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2024-08-03 15:01:10 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2024-08-03 15:01:10 +0000 imgact_elf: Rewrap function declaration This was a style regression I missed when merging an earlier commit. Fixes: 169641f7dd9f imgact_elf: Add const to a few struct image_params pointers Sponsored by: AFRL, DARPA --- sys/kern/imgact_elf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/kern/imgact_elf.c b/sys/kern/imgact_elf.c index 28ffdd03dd6d..494456ceeeae 100644 --- a/sys/kern/imgact_elf.c +++ b/sys/kern/imgact_elf.c @@ -617,9 +617,9 @@ __elfN(map_insert)(const struct image_params *imgp, vm_map_t map, return (KERN_SUCCESS); } -static int __elfN(load_section)(const struct image_params *imgp, - vm_ooffset_t offset, caddr_t vmaddr, size_t memsz, size_t filsz, - vm_prot_t prot) +static int +__elfN(load_section)(const struct image_params *imgp, vm_ooffset_t offset, + caddr_t vmaddr, size_t memsz, size_t filsz, vm_prot_t prot) { struct sf_buf *sf; size_t map_len;