commit | 5d1ef76f5a22ea07120671c5fcddafd365000cc9 | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.masahiro@socionext.com> | Thu Jan 11 22:05:44 2018 +0900 |
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | Thu Jan 18 09:37:38 2018 +0900 |
tree | 810436c9efdd26f3008717f49daf92c6daaf7802 | |
parent | ccfe78873c22561d3c514790094dc408e4876077 [diff] |
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: Masahiro Yamada <yamada.masahiro@socionext.com>