summaryrefslogtreecommitdiffstats
path: root/sbin/routed/rdisc.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2009-04-05 15:55:09 +0000
committerphk <phk@FreeBSD.org>2009-04-05 15:55:09 +0000
commit0aa4473504e30b8c42fde93c3e832d615620f0c0 (patch)
tree6feb868b340092763bc9b967ac76d4decc89314e /sbin/routed/rdisc.c
parent30d15f06f1df7487f207c55cacbc1ea43eb39559 (diff)
downloadFreeBSD-src-0aa4473504e30b8c42fde93c3e832d615620f0c0.zip
FreeBSD-src-0aa4473504e30b8c42fde93c3e832d615620f0c0.tar.gz
Modernize prototypes (ie: no extern)
Make lots of stuff static.
Diffstat (limited to 'sbin/routed/rdisc.c')
-rw-r--r--sbin/routed/rdisc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/routed/rdisc.c b/sbin/routed/rdisc.c
index 8452650..be160a8 100644
--- a/sbin/routed/rdisc.c
+++ b/sbin/routed/rdisc.c
@@ -73,14 +73,14 @@ union ad_u {
int rdisc_sock = -1; /* router-discovery raw socket */
-struct interface *rdisc_sock_mcast; /* current multicast interface */
+static struct interface *rdisc_sock_mcast; /* current multicast interface */
struct timeval rdisc_timer;
int rdisc_ok; /* using solicited route */
#define MAX_ADS 16 /* at least one per interface */
-struct dr { /* accumulated advertisements */
+static struct dr { /* accumulated advertisements */
struct interface *dr_ifp;
naddr dr_gate; /* gateway */
time_t dr_ts; /* when received */
OpenPOWER on IntegriCloud