summaryrefslogtreecommitdiffstats
path: root/sys/netinet/in.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-03-16 18:17:34 +0000
committerbde <bde@FreeBSD.org>1995-03-16 18:17:34 +0000
commit289f11acb49b6dbb3081e09bf94a86f008f55814 (patch)
treee4952f18ac85eccbbd3d9b0f010098732d07fe6d /sys/netinet/in.c
parent4c4945abee9eabe3a2be340ba973ae861c21a3c6 (diff)
downloadFreeBSD-src-289f11acb49b6dbb3081e09bf94a86f008f55814.zip
FreeBSD-src-289f11acb49b6dbb3081e09bf94a86f008f55814.tar.gz
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.
Diffstat (limited to 'sys/netinet/in.c')
-rw-r--r--sys/netinet/in.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netinet/in.c b/sys/netinet/in.c
index c36b0fe..495dcff 100644
--- a/sys/netinet/in.c
+++ b/sys/netinet/in.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)in.c 8.2 (Berkeley) 11/15/93
- * $Id: in.c,v 1.8 1994/12/22 21:56:22 wollman Exp $
+ * $Id: in.c,v 1.9 1995/02/14 06:28:25 phk Exp $
*/
#include <sys/param.h>
@@ -154,7 +154,6 @@ struct sockaddr_in *ap;
}
int in_interfaces; /* number of external internet interfaces */
-extern struct ifnet loif;
/*
* Generic internet control operations (ioctl's).
OpenPOWER on IntegriCloud