arp/ndp: Use valid prototypes for function declarations with no arguments.

This commit is contained in:
John Baldwin 2023-04-26 13:18:53 -07:00
parent d7e3b05b0d
commit 2d7842d0bf
2 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@ has_l2(struct snl_state *ss, uint32_t ifindex)
}
static uint32_t
get_myfib()
get_myfib(void)
{
uint32_t fibnum = 0;
size_t len = sizeof(fibnum);

View File

@ -105,7 +105,7 @@ has_l2(struct snl_state *ss, uint32_t ifindex)
}
static uint32_t
get_myfib()
get_myfib(void)
{
uint32_t fibnum = 0;
size_t len = sizeof(fibnum);