Skip to content
Snippets Groups Projects
Commit 5d1ef76f authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

fixdep: move global variables to local variables of main()


I do not mind global variables where they are useful enough.  In this
case, I do not see a good reason to use global variables since they
are just referenced in shallow places.  It is easy to pass them via
function arguments.

I squashed print_cmdline() into main() since it is just one line code.

Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent ccfe7887
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment