]> git.ipfire.org Git - thirdparty/mtr.git/commit
cleanup: move file scope variables to the beginning of file
authorSami Kerola <kerolasa@iki.fi>
Sun, 9 Oct 2016 10:27:07 +0000 (11:27 +0100)
committerSami Kerola <kerolasa@iki.fi>
Tue, 11 Oct 2016 18:29:20 +0000 (19:29 +0100)
commit7d17bcac20b88250184cd44c9c83752f732d7bd8
treeec16385212c6b1ea11e458bedf0e4f1da2882342
parent56fdd6a4c32e88f64bce4d25e2e31fd9325f0fe0
cleanup: move file scope variables to the beginning of file

Writing file scope global variables in between function somewhere half way
down feels like an attempt to hide these variables.  This commit moves such
variables to beginning of file before functions.  From technical point of
view the change is unnecessary, but hope is to help to read the code.
curses.c
dns.c