git: 59f0eba31e86 - stable/13 - Adjust function definition in kern_poll.c to avoid clang 15 warning

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

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

commit 59f0eba31e86dbae581e16e1114e7273119920ea
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2022-08-14 19:03:39 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2022-08-21 11:10:51 +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
    
    (cherry picked from commit 9762d48b7f12f7085d3f6ad83b3ca5ebd226b697)
---
 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;