commit | 430694439b458d36e4625f7f5c605a95a0c19ee5 | [log] [tgz] |
---|---|---|
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | Fri Oct 15 00:01:14 2010 +0000 |
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | Fri Oct 15 00:01:14 2010 +0000 |
tree | 63dc316c296d1392541deef7d26ecd0359876568 | |
parent | 75a58f94cc641e8051169ec6bb9894a390a8e2bf [diff] |
Refactor doit() Doit() is the monster function we split off from main() when we created cli_classic() and tried to introduce some abstraction. doit() is a poster child of WTFs on an astronomic scale. Make doit() less bad by factoring out self-contained code. Corresponding to flashrom svn r1212. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Sean Nelson <audiohacked@gmail.com>