From 0209b2c932994e9ca55d39d98a83ea02aacd1332 Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Sat, 18 Mar 2023 23:18:11 -0400 Subject: Modernize code by removing use of old style definitions. Also add -Werror=old-style-definition to enforce new code. Message-Id: --- lwip/lwip-util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lwip/lwip-util.c') diff --git a/lwip/lwip-util.c b/lwip/lwip-util.c index 61f3194a..fc4cb137 100644 --- a/lwip/lwip-util.c +++ b/lwip/lwip-util.c @@ -101,7 +101,7 @@ ipv4config_is_valid (uint32_t addr, uint32_t netmask, /* Configure the loopback interface */ static void -init_loopback () +init_loopback (void) { struct ifcommon ifc; @@ -114,7 +114,7 @@ init_loopback () /* Remove the existing interfaces, but the loopback one */ void -remove_ifs () +remove_ifs (void) { struct netif *netif; -- cgit v1.2.3