git: cba63237c973 - stable/13 - Adjust function definition in riscv's db_trace.c to avoid clang 15 warning

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Sun, 21 Aug 2022 11:29:18 UTC
The branch stable/13 has been updated by dim:

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

commit cba63237c973db872fe9d551fbf1f0eab38be095
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2022-08-15 18:48:17 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2022-08-21 11:16:43 +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
    
    (cherry picked from commit da36b5d244419fdc137e0cce50bf021e8c46c822)
---
 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)
 {
 
 }