commit | f32cc4bee55da4ff20be095eb5f4e883f2f54de6 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Sat May 01 11:01:46 2010 +0200 |
committer | Harald Welte <laforge@gnumonks.org> | Sat May 01 12:07:41 2010 +0200 |
tree | 60bb59d167fa7d65e1ea2aa64822af956944ab30 | |
parent | 0809d79ef805fe21cb4bc4b55c78439b625b5b3d [diff] |
VTY: ensure all cmd_elements are declared 'static' While doing 'nm' on a VTY-using object file I noticed that all cmd_elements are global symbols, which is not good. Unfortuantely there are some vty-internal cmd_elements that need to span across object files, so I had to introduce gDEFUN() and gALIAS(). The old macros now all declare static structures.