diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2016-07-28 17:23:45 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetwroks.com> | 2016-07-28 13:27:47 +0200 |
commit | 1c6f50bf2dd960b7007eb254f068968fcdfd3149 (patch) | |
tree | 9fe8fb5c7b3b660fcc9f74f73787852474084626 /ripd | |
parent | zebra: fix include for SNMP (diff) | |
download | frr-1c6f50bf2dd960b7007eb254f068968fcdfd3149.tar.xz frr-1c6f50bf2dd960b7007eb254f068968fcdfd3149.zip |
*: snmp: add a load of "static" specifiers
Make it easier to see which bits in *_snmp.c are actually referenced
from non-SNMP parts of the code.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ripd')
-rw-r--r-- | ripd/rip_snmp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ripd/rip_snmp.c b/ripd/rip_snmp.c index 4b7d1b4c5..c28b9379c 100644 --- a/ripd/rip_snmp.c +++ b/ripd/rip_snmp.c @@ -81,10 +81,10 @@ SNMP_LOCAL_VARIABLES /* RIP-MIB instances. */ -oid rip_oid [] = { RIPV2MIB }; +static oid rip_oid [] = { RIPV2MIB }; /* Interface cache table sorted by interface's address. */ -struct route_table *rip_ifaddr_table; +static struct route_table *rip_ifaddr_table; /* Hook functions. */ static u_char *rip2Globals (struct variable *, oid [], size_t *, @@ -96,7 +96,7 @@ static u_char *rip2IfConfAddress (struct variable *, oid [], size_t *, static u_char *rip2PeerTable (struct variable *, oid [], size_t *, int, size_t *, WriteMethod **); -struct variable rip_variables[] = +static struct variable rip_variables[] = { /* RIP Global Counters. */ {RIP2GLOBALROUTECHANGES, COUNTER, RONLY, rip2Globals, |