diff options
author | bde <bde@FreeBSD.org> | 1995-03-16 18:17:34 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-03-16 18:17:34 +0000 |
commit | 289f11acb49b6dbb3081e09bf94a86f008f55814 (patch) | |
tree | e4952f18ac85eccbbd3d9b0f010098732d07fe6d /sys/net/route.c | |
parent | 4c4945abee9eabe3a2be340ba973ae861c21a3c6 (diff) | |
download | FreeBSD-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/net/route.c')
-rw-r--r-- | sys/net/route.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/route.c b/sys/net/route.c index 6c01a92..510a085 100644 --- a/sys/net/route.c +++ b/sys/net/route.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)route.c 8.2 (Berkeley) 11/15/93 - * $Id: route.c,v 1.14 1995/01/23 02:00:34 wollman Exp $ + * $Id: route.c,v 1.15 1995/01/23 17:53:21 davidg Exp $ */ #include <sys/param.h> @@ -51,6 +51,7 @@ #include <netinet/in.h> #include <netinet/in_var.h> +#include <netinet/ip_mroute.h> #ifdef NS #include <netns/ns.h> @@ -293,7 +294,6 @@ rtioctl(req, data, p) struct proc *p; { #ifdef INET - extern int (*mrt_ioctl)(int, caddr_t, struct proc *); /* Multicast goop, grrr... */ return mrt_ioctl(req, data, p); #else /* INET */ |