summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2004-04-17 15:10:20 +0000
committerluigi <luigi@FreeBSD.org>2004-04-17 15:10:20 +0000
commit36ff2c8c633e99f0105d9123c2aa64e5d0f1dc0f (patch)
treec82636c0c83eb4baa30a5d485c3c8af3545e25db /sys/net
parent908ad906210b14b67b2ec4e7a2a0be3878878283 (diff)
downloadFreeBSD-src-36ff2c8c633e99f0105d9123c2aa64e5d0f1dc0f.zip
FreeBSD-src-36ff2c8c633e99f0105d9123c2aa64e5d0f1dc0f.tar.gz
make route_init() static
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/route.c4
-rw-r--r--sys/net/route.h1
2 files changed, 2 insertions, 3 deletions
diff --git a/sys/net/route.c b/sys/net/route.c
index 5d864f5..1ddef89 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 fb5d3ca..db0bd2d 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 *);
OpenPOWER on IntegriCloud