summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2015-10-27 15:22:58 +0000
committermpi <mpi@openbsd.org>2015-10-27 15:22:58 +0000
commit4826444abc7c6288603d06b446a97d12435d0a25 (patch)
tree312707ddba554320327277e2d836d02adc9ef26b
parentarp_ifinit() is no longer needed. (diff)
downloadwireguard-openbsd-4826444abc7c6288603d06b446a97d12435d0a25.tar.xz
wireguard-openbsd-4826444abc7c6288603d06b446a97d12435d0a25.zip
RIP arp_ifinit().
-rw-r--r--sys/netinet/if_ether.c7
-rw-r--r--sys/netinet/if_ether.h3
2 files changed, 2 insertions, 8 deletions
diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c
index 106e230b2c0..def22b52043 100644
--- a/sys/netinet/if_ether.c
+++ b/sys/netinet/if_ether.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ether.c,v 1.178 2015/10/27 10:54:52 mpi Exp $ */
+/* $OpenBSD: if_ether.c,v 1.179 2015/10/27 15:22:58 mpi Exp $ */
/* $NetBSD: if_ether.c,v 1.31 1996/05/11 12:59:58 mycroft Exp $ */
/*
@@ -821,11 +821,6 @@ arpproxy(struct in_addr in, unsigned int rtableid)
return (found);
}
-void
-arp_ifinit(struct arpcom *ac, struct ifaddr *ifa)
-{
-}
-
/*
* Called from Ethernet interrupt handlers
* when ether packet type ETHERTYPE_REVARP
diff --git a/sys/netinet/if_ether.h b/sys/netinet/if_ether.h
index b3aa1c0c8b9..db6a744f9f4 100644
--- a/sys/netinet/if_ether.h
+++ b/sys/netinet/if_ether.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ether.h,v 1.61 2015/10/25 11:58:11 mpi Exp $ */
+/* $OpenBSD: if_ether.h,v 1.62 2015/10/27 15:22:58 mpi Exp $ */
/* $NetBSD: if_ether.h,v 1.22 1996/05/11 13:00:00 mycroft Exp $ */
/*
@@ -196,7 +196,6 @@ void arpwhohas(struct arpcom *, struct in_addr *);
void arpintr(void);
int arpresolve(struct ifnet *,
struct rtentry *, struct mbuf *, struct sockaddr *, u_char *);
-void arp_ifinit(struct arpcom *, struct ifaddr *);
void arp_rtrequest(struct ifnet *, int, struct rtentry *);
int ether_addmulti(struct ifreq *, struct arpcom *);