if_epair: Use ANSI C definition

This fixes -Werror=strict-prototypes from gcc9

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Li-Wen Hsu 2022-02-15 21:45:22 +08:00
parent 82b611ed18
commit 7442b63231
No known key found for this signature in database
GPG Key ID: 82B261B14D3BC7AF

View File

@ -784,7 +784,7 @@ VNET_SYSUNINIT(vnet_epair_uninit, SI_SUB_INIT_IF, SI_ORDER_ANY,
vnet_epair_uninit, NULL);
static int
epair_mod_init()
epair_mod_init(void)
{
char name[32];
epair_tasks.tasks = 0;
@ -828,7 +828,7 @@ epair_mod_init()
}
static void
epair_mod_cleanup()
epair_mod_cleanup(void)
{
for (int i = 0; i < epair_tasks.tasks; i++) {