libbb: code shrink by factoring out common update_utmp_DEAD_PROCESS
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 5 Jan 2015 14:37:58 +0000 (15:37 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 5 Jan 2015 14:37:58 +0000 (15:37 +0100)
commitda9212667c99f2f2121747c4715d067deb7c155b
tree66a670e6d78ca899a454a42228abbbc2740fad0d
parent08b90a9d10f2f712c6e16c118328d85930762b92
libbb: code shrink by factoring out common update_utmp_DEAD_PROCESS

function                                             old     new   delta
update_utmp_DEAD_PROCESS                               -      17     +17
telnetd_main                                        1685    1674     -11
mark_terminated                                       56      45     -11
handle_sigchld                                        74      63     -11

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
include/libbb.h
init/init.c
libbb/utmp.c
loginutils/login.c
networking/telnetd.c