From 05e6878c8767cf7006675d5e5a646b2f74aa88c7 Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Sat, 2 Jan 2016 18:38:31 +0100 Subject: allow pfinet to link using -O0 This fixes a long list of undefined references when compiling with -O0 by using static instead of extern in header files. --- pfinet/linux-src/include/net/if_inet6.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pfinet/linux-src/include/net/if_inet6.h') diff --git a/pfinet/linux-src/include/net/if_inet6.h b/pfinet/linux-src/include/net/if_inet6.h index 4e9ed978..515b8c76 100644 --- a/pfinet/linux-src/include/net/if_inet6.h +++ b/pfinet/linux-src/include/net/if_inet6.h @@ -117,7 +117,7 @@ struct inet6_dev extern struct ipv6_devconf ipv6_devconf; -extern __inline__ void ipv6_eth_mc_map(struct in6_addr *addr, char *buf) +static __inline__ void ipv6_eth_mc_map(struct in6_addr *addr, char *buf) { /* * +-------+-------+-------+-------+-------+-------+ -- cgit v1.2.3