aboutsummaryrefslogtreecommitdiff
path: root/pfinet/linux-src/include/net/ip6_route.h
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2016-01-02 18:38:31 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2016-01-02 18:48:57 +0100
commit05e6878c8767cf7006675d5e5a646b2f74aa88c7 (patch)
tree3cba4a57d98573761d4538f6a24f1be1c2b2c197 /pfinet/linux-src/include/net/ip6_route.h
parent5714421bb1d066abebc7e993bdf06e655b879b3a (diff)
downloadhurd-05e6878c8767cf7006675d5e5a646b2f74aa88c7.tar.gz
hurd-05e6878c8767cf7006675d5e5a646b2f74aa88c7.tar.bz2
hurd-05e6878c8767cf7006675d5e5a646b2f74aa88c7.zip
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.
Diffstat (limited to 'pfinet/linux-src/include/net/ip6_route.h')
-rw-r--r--pfinet/linux-src/include/net/ip6_route.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pfinet/linux-src/include/net/ip6_route.h b/pfinet/linux-src/include/net/ip6_route.h
index 9311cc34..369f4227 100644
--- a/pfinet/linux-src/include/net/ip6_route.h
+++ b/pfinet/linux-src/include/net/ip6_route.h
@@ -92,7 +92,7 @@ extern void rt6_mtu_change(struct device *dev, unsigned mtu);
* For UDP/RAW sockets this is done on udp_connect.
*/
-extern __inline__ void ip6_dst_store(struct sock *sk, struct dst_entry *dst,
+static __inline__ void ip6_dst_store(struct sock *sk, struct dst_entry *dst,
struct in6_addr *daddr)
{
struct ipv6_pinfo *np;