top: nested function allows us to reuse some code
authorDenis Vlasenko <vda.linux@googlemail.com>
Sun, 15 Jul 2007 19:27:48 +0000 (19:27 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sun, 15 Jul 2007 19:27:48 +0000 (19:27 -0000)
commit110967a6f7b214eb8a3b78f9a3e09a0de6412a88
tree29587da99dcc10c5a851e7299a5fa6df43da1d1b
parent24c5fbaf42158d54ec9c334174c267e9c1c84f4c
top: nested function allows us to reuse some code
(not everyone likes them - but code does get smaller).

display_generic                                        -     761    +761
static.fmt_100percent_8                                -     111    +111
fmt_100percent_8                                     101       -    -101
display_status                                      1489     581    -908
------------------------------------------------------------------------------
(add/remove: 2/1 grow/shrink: 0/1 up/down: 872/-1009)        Total: -137 bytes
   text    data     bss     dec     hex filename
 677020    3344   13936  694300   a981c busybox_old
 676876    3344   13936  694156   a978c busybox_unstripped
procps/Config.in
procps/top.c