summaryrefslogtreecommitdiffstats
path: root/sbin/routed/output.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/output.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/output.c')
-rw-r--r--sbin/routed/output.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/routed/output.c b/sbin/routed/output.c
index dd4f1a9..66cbc29 100644
--- a/sbin/routed/output.c
+++ b/sbin/routed/output.c
@@ -46,7 +46,7 @@ u_int update_seqno;
/* walk the tree of routes with this for output
*/
-struct {
+static struct {
struct sockaddr_in to;
naddr to_mask;
naddr to_net;
@@ -69,11 +69,11 @@ struct {
/* A buffer for what can be heard by both RIPv1 and RIPv2 listeners */
struct ws_buf v12buf;
-union pkt_buf ripv12_buf;
+static union pkt_buf ripv12_buf;
/* Another for only RIPv2 listeners */
-struct ws_buf v2buf;
-union pkt_buf rip_v2_buf;
+static struct ws_buf v2buf;
+static union pkt_buf rip_v2_buf;
OpenPOWER on IntegriCloud