git: 9762d48b7f12 - main - Adjust function definition in kern_poll.c to avoid clang 15 warning

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Sun, 14 Aug 2022 19:27:55 UTC
The branch main has been updated by dim:

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

commit 9762d48b7f12f7085d3f6ad83b3ca5ebd226b697
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2022-08-14 19:03:39 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2022-08-14 19:27:34 +0000

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

diff --git a/sys/kern/kern_poll.c b/sys/kern/kern_poll.c
index f3e84ad0afa7..fd1a30f0851f 100644
--- a/sys/kern/kern_poll.c
+++ b/sys/kern/kern_poll.c
@@ -371,7 +371,7 @@ ether_poll(int count)
 static struct timeval poll_start_t;
 
 void
-netisr_pollmore()
+netisr_pollmore(void)
 {
 	struct timeval t;
 	int kern_load;