diff options
| author | Luigi Rizzo <luigi@FreeBSD.org> | 2004-04-17 15:10:20 +0000 |
|---|---|---|
| committer | Luigi Rizzo <luigi@FreeBSD.org> | 2004-04-17 15:10:20 +0000 |
| commit | 2eb5613fe6632a9bc9930b412c26f217a8188c60 (patch) | |
| tree | c82636c0c83eb4baa30a5d485c3c8af3545e25db /sys/net | |
| parent | 913af5185990b66c7dd1609fafbe77f0b4adb5c0 (diff) | |
Notes
Diffstat (limited to 'sys/net')
| -rw-r--r-- | sys/net/route.c | 4 | ||||
| -rw-r--r-- | sys/net/route.h | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/sys/net/route.c b/sys/net/route.c index 5d864f593cc16..1ddef89d67efb 100644 --- a/sys/net/route.c +++ b/sys/net/route.c @@ -68,8 +68,8 @@ rtable_init(void **table) dom->dom_rtoffset); } -void -route_init() +static void +route_init(void) { rn_init(); /* initialize all zeroes, all ones, mask table */ rtable_init((void **)rt_tables); diff --git a/sys/net/route.h b/sys/net/route.h index fb5d3ca4370fa..db0bd2d8c4226 100644 --- a/sys/net/route.h +++ b/sys/net/route.h @@ -313,7 +313,6 @@ extern struct radix_node_head *rt_tables[AF_MAX+1]; struct ifmultiaddr; -void route_init(void); int rt_getifa(struct rt_addrinfo *); void rt_ifannouncemsg(struct ifnet *, int); void rt_ifmsg(struct ifnet *); |
