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/rtsock.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/rtsock.c')
-rw-r--r-- | sys/net/rtsock.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c index d73604e..7c5056f 100644 --- a/sys/net/rtsock.c +++ b/sys/net/rtsock.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)rtsock.c 8.3 (Berkeley) 1/4/94 - * $Id: rtsock.c,v 1.7 1994/10/11 23:16:29 wollman Exp $ + * $Id: rtsock.c,v 1.8 1994/12/13 22:31:49 wollman Exp $ */ #include <sys/param.h> @@ -201,7 +201,6 @@ route_output(m, so) senderr(ESRCH); if (rtm->rtm_type != RTM_GET) {/* XXX: too grotty */ struct radix_node *rn; - extern struct radix_node_head *mask_rnhead; if (Bcmp(dst, rt_key(rt), dst->sa_len) != 0) senderr(ESRCH); |