]> git.ipfire.org Git - thirdparty/mtr.git/commit
data types: move variables from a file to a function scope
authorSami Kerola <kerolasa@iki.fi>
Sun, 9 Oct 2016 10:02:38 +0000 (11:02 +0100)
committerSami Kerola <kerolasa@iki.fi>
Tue, 11 Oct 2016 18:29:20 +0000 (19:29 +0100)
commit56fdd6a4c32e88f64bce4d25e2e31fd9325f0fe0
tree9cd820fa9000d8c9f4bb0d07340b7eda5004ce7b
parente6712e5c6b0d66c5cddebe61534ff73a3876585b
data types: move variables from a file to a function scope

Use of static keyword, that ensures persistent variables within function
during different invocations, is the reason why these values can be moved
from global scope to a function scope.
net.c
select.c