From b5e8ce9f12b66453759f254bdf8bfc53fe2b6948 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Thu, 16 Mar 1995 18:17:34 +0000 Subject: Add and move declarations to fix all of the warnings from `gcc -Wimplicit' (except in netccitt, netiso and netns) and most of the warnings from `gcc -Wnested-externs'. Fix all the bugs found. There were no serious ones. --- sys/netinet/ip_mroute.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/netinet/ip_mroute.c') diff --git a/sys/netinet/ip_mroute.c b/sys/netinet/ip_mroute.c index 40b39da73600..e8a12a894f2a 100644 --- a/sys/netinet/ip_mroute.c +++ b/sys/netinet/ip_mroute.c @@ -197,7 +197,6 @@ static int del_mfc(struct delmfcctl *); static void cleanup_cache(void *); static int ip_mdq(struct mbuf *, struct ifnet *, u_long, struct mfc *, struct ip_moptions *); -extern int (*legal_vif_num)(int); static void phyint_send(struct ip *, struct vif *, struct mbuf *); static void srcrt_send(struct ip *, struct vif *, struct mbuf *); static void encap_send(struct ip *, struct vif *, struct mbuf *); @@ -1873,7 +1872,6 @@ ip_mroute_mod_handle(struct lkm_table *lkmtp, int cmd) static int (*old_mrt_ioctl)(); static void (*old_proto4_input)(); static int (*old_legal_vif_num)(); - extern u_char ip_protox[]; extern struct protosw inetsw[]; case LKM_E_LOAD: -- cgit v1.3