summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2010-10-04 20:17:53 +0000
committerDavid S. Miller <davem@davemloft.net>2010-10-05 00:47:39 -0700
commitc61393ea83573ff422af505b6fd49ef9ec9b91ca (patch)
tree4dbaf967e7293618205622776d553e37ec0a2f3e /net
parent1df9916e46451533463f227e6be57cc2cfca4c5f (diff)
downloadop-kernel-dev-c61393ea83573ff422af505b6fd49ef9ec9b91ca.zip
op-kernel-dev-c61393ea83573ff422af505b6fd49ef9ec9b91ca.tar.gz
ipv6: make __ipv6_isatap_ifid static
Another exported symbol only used in one file Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Acked-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/ipv6/addrconf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
index 8c88340..ec7a91d 100644
--- a/net/ipv6/addrconf.c
+++ b/net/ipv6/addrconf.c
@@ -1544,7 +1544,7 @@ static int addrconf_ifid_infiniband(u8 *eui, struct net_device *dev)
return 0;
}
-int __ipv6_isatap_ifid(u8 *eui, __be32 addr)
+static int __ipv6_isatap_ifid(u8 *eui, __be32 addr)
{
if (addr == 0)
return -1;
@@ -1560,7 +1560,6 @@ int __ipv6_isatap_ifid(u8 *eui, __be32 addr)
memcpy(eui + 4, &addr, 4);
return 0;
}
-EXPORT_SYMBOL(__ipv6_isatap_ifid);
static int addrconf_ifid_sit(u8 *eui, struct net_device *dev)
{
OpenPOWER on IntegriCloud