diff options
author | Bruce Evans <bde@FreeBSD.org> | 1995-01-24 04:47:33 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 1995-01-24 04:47:33 +0000 |
commit | 6670942f715afd8e44a86fa74045568567414b1a (patch) | |
tree | eb837fbc22f2b83fcd4f342c460662ca92834493 /sys/net/route.h | |
parent | 0a1715303563b13cd37206275ea667361c335c66 (diff) | |
download | src-6670942f715afd8e44a86fa74045568567414b1a.tar.gz src-6670942f715afd8e44a86fa74045568567414b1a.zip |
Declare `struct mbuf' with the correct scope to avoid lots of warnings
for compiling routed... Previously a kernel function pointer that is
bogusly visible to applications was incompletely declared to hide the
problem.
Notes
Notes:
svn path=/head/; revision=5833
Diffstat (limited to 'sys/net/route.h')
-rw-r--r-- | sys/net/route.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/net/route.h b/sys/net/route.h index fd6ead9be086..97ec9e4d36a4 100644 --- a/sys/net/route.h +++ b/sys/net/route.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)route.h 8.3 (Berkeley) 4/19/94 - * $Id: route.h,v 1.6 1994/12/13 22:31:48 wollman Exp $ + * $Id: route.h,v 1.7 1995/01/23 02:00:35 wollman Exp $ */ #ifndef _NET_ROUTE_H_ @@ -81,6 +81,11 @@ struct rt_metrics { #define RTTTOPRHZ(r) ((r) / (RTM_RTTUNIT / PR_SLOWHZ)) /* + * XXX kernel function pointer `rt_output' is visible to applications. + */ +struct mbuf; + +/* * We distinguish between routes to hosts and routes to networks, * preferring the former if available. For each route we infer * the interface to use from the gateway address supplied when |