diff options
author | Flavio Cruz <flaviocruz@gmail.com> | 2016-01-02 18:38:31 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-01-02 18:48:57 +0100 |
commit | 05e6878c8767cf7006675d5e5a646b2f74aa88c7 (patch) | |
tree | 3cba4a57d98573761d4538f6a24f1be1c2b2c197 /pfinet/linux-src/include/net/if_inet6.h | |
parent | 5714421bb1d066abebc7e993bdf06e655b879b3a (diff) | |
download | hurd-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/if_inet6.h')
-rw-r--r-- | pfinet/linux-src/include/net/if_inet6.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) { /* * +-------+-------+-------+-------+-------+-------+ |