git: da36b5d24441 - main - Adjust function definition in riscv's db_trace.c to avoid clang 15 warning

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Mon, 15 Aug 2022 18:49:29 UTC
The branch main has been updated by dim:

URL: https://cgit.FreeBSD.org/src/commit/?id=da36b5d244419fdc137e0cce50bf021e8c46c822

commit da36b5d244419fdc137e0cce50bf021e8c46c822
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2022-08-15 18:48:17 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2022-08-15 18:48:35 +0000

    Adjust function definition in riscv's db_trace.c to avoid clang 15 warning
    
    With clang 15, the following -Werror warning is produced:
    
        sys/riscv/riscv/db_trace.c:56:23: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
        db_md_list_watchpoints()
                              ^
                               void
    
    This is because db_md_list_watchpoints() is declared with a (void)
    argument list, but defined with an empty argument list. Make the
    definition match the declaration.
    
    MFC after:      3 days
---
 sys/riscv/riscv/db_trace.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/riscv/riscv/db_trace.c b/sys/riscv/riscv/db_trace.c
index dbc2ba92bce3..56508464e7c6 100644
--- a/sys/riscv/riscv/db_trace.c
+++ b/sys/riscv/riscv/db_trace.c
@@ -53,7 +53,7 @@ __FBSDID("$FreeBSD$");
 #include <machine/vmparam.h>
 
 void
-db_md_list_watchpoints()
+db_md_list_watchpoints(void)
 {
 
 }