git: bf043855213c - main - arm: Use C89 function declaration for db_read_bytes.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 20 Apr 2023 18:01:15 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=bf043855213c17262c70b698c4402a425a069057 commit bf043855213c17262c70b698c4402a425a069057 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2023-04-20 18:00:46 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2023-04-20 18:00:46 +0000 arm: Use C89 function declaration for db_read_bytes. --- sys/arm/arm/db_interface.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sys/arm/arm/db_interface.c b/sys/arm/arm/db_interface.c index 73d0cc478617..c202a5ab0016 100644 --- a/sys/arm/arm/db_interface.c +++ b/sys/arm/arm/db_interface.c @@ -180,10 +180,7 @@ db_validate_address(vm_offset_t addr) * Read bytes from kernel address space for debugger. */ int -db_read_bytes(addr, size, data) - vm_offset_t addr; - size_t size; - char *data; +db_read_bytes(vm_offset_t addr, size_t size, char *data) { char *src = (char *)addr;