commit | 7fc626de5f618133ad2a478d13defa3a110b89ea | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | Mon Dec 01 11:10:34 2008 -0800 |
committer | Paul Jakma <paul@quagga.net> | Fri Jun 12 17:10:29 2009 +0100 |
tree | 432ff0e4672eabc2ec6b0dcffc22dcc0aee532c8 | |
parent | 66e5cd87194ae6fdd51061a91b4698bc0a652f6b [diff] [blame] |
[cleanup] Make command nodes static The cmd_nodes used to configure vty, can mostly be static so (basic data hiding 101).
diff --git a/lib/smux.c b/lib/smux.c index fd0c89c..349cc2f 100644 --- a/lib/smux.c +++ b/lib/smux.c
@@ -73,7 +73,7 @@ int fail = 0; /* SMUX node. */ -struct cmd_node smux_node = +static struct cmd_node smux_node = { SMUX_NODE, "" /* SMUX has no interface. */