Skip to content
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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment