diff options
author | bde <bde@FreeBSD.org> | 1995-08-16 16:14:28 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-08-16 16:14:28 +0000 |
commit | b31df0923855dfd9d896af85136b21457656fb94 (patch) | |
tree | 615cdfe7b4bd682482b05bb8cf71a6e13bc3f095 /sys/net | |
parent | 6a4e982f2752e3e2c2174179969c6ecc93410a5f (diff) | |
download | FreeBSD-src-b31df0923855dfd9d896af85136b21457656fb94.zip FreeBSD-src-b31df0923855dfd9d896af85136b21457656fb94.tar.gz |
Make everything except the unsupported network sources compile cleanly
with -Wnested-externs.
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if.h | 3 | ||||
-rw-r--r-- | sys/net/if_tun.c | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if.h b/sys/net/if.h index f7da7ab..cceba85 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.18 1995/05/30 08:07:59 rgrimes Exp $ + * $Id: if.h,v 1.19 1995/07/09 08:12:27 joerg Exp $ */ #ifndef _NET_IF_H_ @@ -355,6 +355,7 @@ struct ifconf { (ifa)->ifa_refcnt--; extern struct ifnet *ifnet; +extern int ifqmaxlen; extern struct ifnet loif[]; void ether_ifattach __P((struct ifnet *)); diff --git a/sys/net/if_tun.c b/sys/net/if_tun.c index 42037f1..80f5ce2 100644 --- a/sys/net/if_tun.c +++ b/sys/net/if_tun.c @@ -66,7 +66,6 @@ int tundebug = 0; struct tun_softc tunctl[NTUN]; -extern int ifqmaxlen; d_open_t tunopen; d_close_t tunclose; |