summaryrefslogtreecommitdiffstats
path: root/lib/filter.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-12-01 20:10:34 +0100
committerPaul Jakma <paul@quagga.net>2009-06-12 18:10:29 +0200
commit7fc626de5f618133ad2a478d13defa3a110b89ea (patch)
tree432ff0e4672eabc2ec6b0dcffc22dcc0aee532c8 /lib/filter.c
parent[cleanup] functions taking no args should be declared with void args (diff)
downloadfrr-7fc626de5f618133ad2a478d13defa3a110b89ea.tar.xz
frr-7fc626de5f618133ad2a478d13defa3a110b89ea.zip
[cleanup] Make command nodes static
The cmd_nodes used to configure vty, can mostly be static so (basic data hiding 101).
Diffstat (limited to 'lib/filter.c')
-rw-r--r--lib/filter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/filter.c b/lib/filter.c
index 7aeb8deb7..af8d587ff 100644
--- a/lib/filter.c
+++ b/lib/filter.c
@@ -1857,7 +1857,7 @@ config_write_access (struct vty *vty, afi_t afi)
}
/* Access-list node. */
-struct cmd_node access_node =
+static struct cmd_node access_node =
{
ACCESS_NODE,
"", /* Access list has no interface. */
@@ -1953,7 +1953,7 @@ access_list_init_ipv4 (void)
}
#ifdef HAVE_IPV6
-struct cmd_node access_ipv6_node =
+static struct cmd_node access_ipv6_node =
{
ACCESS_IPV6_NODE,
"",