]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
ipv6: make __ipv6_isatap_ifid static
authorstephen hemminger <shemminger@vyatta.com>
Mon, 4 Oct 2010 20:17:53 +0000 (20:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Oct 2010 07:47:39 +0000 (00:47 -0700)
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>
include/net/addrconf.h
net/ipv6/addrconf.c

index 958d2749b7a999bae6ea33b9a0cabc44b9042e94..a9441249306c4847f6f641ae320110ebd86f3694 100644 (file)
@@ -276,8 +276,6 @@ static inline int ipv6_addr_is_ll_all_routers(const struct in6_addr *addr)
                (addr->s6_addr32[3] ^ htonl(0x00000002))) == 0;
 }
 
-extern int __ipv6_isatap_ifid(u8 *eui, __be32 addr);
-
 static inline int ipv6_addr_is_isatap(const struct in6_addr *addr)
 {
        return (addr->s6_addr32[2] | htonl(0x02000000)) == htonl(0x02005EFE);
index 8c88340278f564b8910c094e6e1131609f6bf5a7..ec7a91d9e86553475555b9df19d22ced2dc5eb31 100644 (file)
@@ -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)
 {