git: e82f6f47d5d6 - stable/12 - 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:37 UTC
The branch stable/12 has been updated by dim:

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

commit e82f6f47d5d6cd91a667a7403f1166800adf4c38
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:18:40 +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 f7ff32663464..4b3193e27e8e 100644
--- a/sys/kern/kern_poll.c
+++ b/sys/kern/kern_poll.c
@@ -364,7 +364,7 @@ ether_poll(int count)
 static struct timeval poll_start_t;
 
 void
-netisr_pollmore()
+netisr_pollmore(void)
 {
 	struct timeval t;
 	int kern_load;