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: --- pfinet/linux-src/net/ipv6/route_ipv6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pfinet/linux-src/net/ipv6/route_ipv6.c') diff --git a/pfinet/linux-src/net/ipv6/route_ipv6.c b/pfinet/linux-src/net/ipv6/route_ipv6.c index 5f79a226..d404ae5c 100644 --- a/pfinet/linux-src/net/ipv6/route_ipv6.c +++ b/pfinet/linux-src/net/ipv6/route_ipv6.c @@ -542,7 +542,7 @@ static void ip6_link_failure(struct sk_buff *skb) } } -static int ip6_dst_gc() +static int ip6_dst_gc(void) { static unsigned expire = 30*HZ; static unsigned long last_gc; -- cgit v1.2.3