summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2011-10-31 22:50:25 +0000
committerBen Hutchings <bhutchings@solarflare.com>2011-11-03 19:13:06 +0000
commit5ec0d817409b8a2b08121129f917ff1d73db92ad (patch)
treeaccbc1785d98835eb59b2afc168ed66f4d3e9f91 /internal.h
parentc816d66b578e9aa8deaaac6ddd698880e3b18ea5 (diff)
downloadethtool-5ec0d817409b8a2b08121129f917ff1d73db92ad.tar.gz
Convert cmdline_msglvl into array of named flags; convert back at run-time
cmdline_msglvl is used both in do_gset() and do_sset(), but it refers to variables only used in do_sset(). I want to get rid of the global variables without duplicating the flag definitions. So separate out the flag definitions into a new structure and generate cmdline_msglvl from that at run-time. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'internal.h')
0 files changed, 0 insertions, 0 deletions