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
This commit is contained in:
Dimitry Andric 2022-08-14 21:03:39 +02:00
parent 7a7bbe1021
commit 9762d48b7f

View File

@ -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;