git: 9863e501c8d4 - main - Adjust fbd_list() definition to avoid clang 15 warning

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Tue, 19 Jul 2022 19:13:45 UTC
The branch main has been updated by dim:

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

commit 9863e501c8d482dc47e856a2778dc3cbf6eb6d22
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2022-07-19 18:35:37 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2022-07-19 18:37:17 +0000

    Adjust fbd_list() definition to avoid clang 15 warning
    
    With clang 15, the following -Werror warnings is produced:
    
        sys/dev/fb/fbd.c:205:9: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
        fbd_list()
                ^
                 void
    
    This is because fbd_list() 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/dev/fb/fbd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/fb/fbd.c b/sys/dev/fb/fbd.c
index 5fda7bcfe2f9..8dfc24707cd8 100644
--- a/sys/dev/fb/fbd.c
+++ b/sys/dev/fb/fbd.c
@@ -202,7 +202,7 @@ fb_init(struct fb_list_entry *entry, int unit)
 }
 
 int
-fbd_list()
+fbd_list(void)
 {
 	struct fb_list_entry *entry;