summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_snmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'ospf6d/ospf6_snmp.c')
-rw-r--r--ospf6d/ospf6_snmp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ospf6d/ospf6_snmp.c b/ospf6d/ospf6_snmp.c
index 7423a3733a..cf1630bbc9 100644
--- a/ospf6d/ospf6_snmp.c
+++ b/ospf6d/ospf6_snmp.c
@@ -207,8 +207,8 @@
SNMP_LOCAL_VARIABLES
/* OSPFv3-MIB instances. */
-oid ospfv3_oid [] = { OSPFv3MIB };
-oid ospfv3_trap_oid [] = { OSPFv3MIB, 0 };
+static oid ospfv3_oid [] = { OSPFv3MIB };
+static oid ospfv3_trap_oid [] = { OSPFv3MIB, 0 };
/* Hook functions. */
static u_char *ospfv3GeneralGroup (struct variable *, oid *, size_t *,
@@ -222,7 +222,7 @@ static u_char *ospfv3NbrEntry (struct variable *, oid *, size_t *,
static u_char *ospfv3IfEntry (struct variable *, oid *, size_t *,
int, size_t *, WriteMethod **);
-struct variable ospfv3_variables[] =
+static struct variable ospfv3_variables[] =
{
/* OSPF general variables */
{OSPFv3ROUTERID, UNSIGNED, RWRITE, ospfv3GeneralGroup,