From 17924d6b36d664a45595eee9b3b163cdd1c2033b Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 1 Dec 2008 11:35:11 -0800 Subject: Make command nodes static (again) Change lost in merge. --- lib/command.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib/command.c') diff --git a/lib/command.c b/lib/command.c index 4887f94f..0bbd99e5 100644 --- a/lib/command.c +++ b/lib/command.c @@ -41,37 +41,37 @@ vector cmdvec = NULL; struct host host; /* Standard command node structures. */ -struct cmd_node auth_node = +static struct cmd_node auth_node = { AUTH_NODE, "Password: ", }; -struct cmd_node view_node = +static struct cmd_node view_node = { VIEW_NODE, "%s> ", }; -struct cmd_node restricted_node = +static struct cmd_node restricted_node = { RESTRICTED_NODE, "%s$ ", }; -struct cmd_node auth_enable_node = +static struct cmd_node auth_enable_node = { AUTH_ENABLE_NODE, "Password: ", }; -struct cmd_node enable_node = +static struct cmd_node enable_node = { ENABLE_NODE, "%s# ", }; -struct cmd_node config_node = +static struct cmd_node config_node = { CONFIG_NODE, "%s(config)# ", -- cgit v1.2.3