From 7fc626de5f618133ad2a478d13defa3a110b89ea Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 1 Dec 2008 11:10:34 -0800 Subject: [cleanup] Make command nodes static The cmd_nodes used to configure vty, can mostly be static so (basic data hiding 101). --- ripd/ripd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ripd/ripd.c') diff --git a/ripd/ripd.c b/ripd/ripd.c index cb2603d0..0e3f877d 100644 --- a/ripd/ripd.c +++ b/ripd/ripd.c @@ -3680,7 +3680,7 @@ config_write_rip (struct vty *vty) } /* RIP node structure. */ -struct cmd_node rip_node = +static struct cmd_node rip_node = { RIP_NODE, "%s(config-router)# ", -- cgit v1.2.1