summaryrefslogtreecommitdiffstats
path: root/isisd
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 /isisd
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 'isisd')
-rw-r--r--isisd/isis_circuit.c2
-rw-r--r--isisd/isisd.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/isisd/isis_circuit.c b/isisd/isis_circuit.c
index af24988e8..d2923b575 100644
--- a/isisd/isis_circuit.c
+++ b/isisd/isis_circuit.c
@@ -2028,7 +2028,7 @@ DEFUN (no_ipv6_router_isis,
}
#endif /* HAVE_IPV6 */
-struct cmd_node interface_node = {
+static struct cmd_node interface_node = {
INTERFACE_NODE,
"%s(config-if)# ",
1,
diff --git a/isisd/isisd.c b/isisd/isisd.c
index 7c669fcbf..1e84a1ced 100644
--- a/isisd/isisd.c
+++ b/isisd/isisd.c
@@ -2076,7 +2076,7 @@ isis_config_write (struct vty *vty)
return write;
}
-struct cmd_node isis_node = {
+static struct cmd_node isis_node = {
ISIS_NODE,
"%s(config-router)# ",
1