diff options
| author | Masahiro Yamada <[email protected]> | 2018-01-11 13:05:44 +0000 |
|---|---|---|
| committer | Masahiro Yamada <[email protected]> | 2018-01-18 00:37:38 +0000 |
| commit | 5d1ef76f5a22ea07120671c5fcddafd365000cc9 (patch) | |
| tree | 810436c9efdd26f3008717f49daf92c6daaf7802 /scripts/gcc-plugins/randomize_layout_plugin.c | |
| parent | fixdep: remove unneeded memcpy() in parse_dep_file() (diff) | |
| download | kernel-5d1ef76f5a22ea07120671c5fcddafd365000cc9.tar.gz kernel-5d1ef76f5a22ea07120671c5fcddafd365000cc9.zip | |
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 <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions
