From 289f11acb49b6dbb3081e09bf94a86f008f55814 Mon Sep 17 00:00:00 2001 From: bde 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/net/if.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/net/if.h') diff --git a/sys/net/if.h b/sys/net/if.h index 6d733b1..56a292d 100644 --- a/sys/net/if.h +++ b/sys/net/if.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)if.h 8.1 (Berkeley) 6/10/93 - * $Id: if.h,v 1.14 1994/12/22 07:20:03 davidg Exp $ + * $Id: if.h,v 1.15 1994/12/30 06:46:21 davidg Exp $ */ #ifndef _NET_IF_H_ @@ -350,6 +350,7 @@ struct ifconf { (ifa)->ifa_refcnt--; extern struct ifnet *ifnet; +extern struct ifnet loif; void ether_ifattach __P((struct ifnet *)); void ether_input __P((struct ifnet *, struct ether_header *, struct mbuf *)); -- cgit v1.1