From 94901d5e6014d64229c265078cf382a39ccfd149 Mon Sep 17 00:00:00 2001
From: Gleb Smirnoff <glebius@FreeBSD.org>
Date: Sun, 8 Jan 2012 13:34:00 +0000
Subject: [PATCH] Move arprequest() declaration to if_ether.h.

---
 sys/net/if_llatbl.c    | 3 ---
 sys/netinet/if_ether.c | 2 --
 sys/netinet/if_ether.h | 2 ++
 3 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/sys/net/if_llatbl.c b/sys/net/if_llatbl.c
index b19a0a4cab43..559a1746175a 100644
--- a/sys/net/if_llatbl.c
+++ b/sys/net/if_llatbl.c
@@ -65,9 +65,6 @@ MALLOC_DEFINE(M_LLTABLE, "lltable", "link level address tables");
 static VNET_DEFINE(SLIST_HEAD(, lltable), lltables);
 #define	V_lltables	VNET(lltables)
 
-extern void arprequest(struct ifnet *, struct in_addr *, struct in_addr *,
-	u_char *);
-
 static void vnet_lltable_init(void);
 
 struct rwlock lltable_rwlock;
diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c
index 3e40cb37d1b5..4544fbe7a1a6 100644
--- a/sys/netinet/if_ether.c
+++ b/sys/netinet/if_ether.c
@@ -123,8 +123,6 @@ SYSCTL_VNET_INT(_net_link_ether_inet, OID_AUTO, maxhold, CTLFLAG_RW,
 	"Number of packets to hold per ARP entry");
 
 static void	arp_init(void);
-void		arprequest(struct ifnet *,
-			struct in_addr *, struct in_addr *, u_char *);
 static void	arpintr(struct mbuf *);
 static void	arptimer(void *);
 #ifdef INET
diff --git a/sys/netinet/if_ether.h b/sys/netinet/if_ether.h
index 4b3ebd7cd2b1..8d44d3587c08 100644
--- a/sys/netinet/if_ether.h
+++ b/sys/netinet/if_ether.h
@@ -115,6 +115,8 @@ struct ifaddr;
 int	arpresolve(struct ifnet *ifp, struct rtentry *rt,
 		    struct mbuf *m, struct sockaddr *dst, u_char *desten,
 		    struct llentry **lle);
+void	arprequest(struct ifnet *, struct in_addr *, struct in_addr *,
+		    u_char *);
 void	arp_ifinit(struct ifnet *, struct ifaddr *);
 void	arp_ifinit2(struct ifnet *, struct ifaddr *, u_char *);
 void	arp_ifscrub(struct ifnet *, uint32_t);