libbb: move nuke_str() from passwd into libbb
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 19 Nov 2013 12:36:45 +0000 (13:36 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 19 Nov 2013 12:36:45 +0000 (13:36 +0100)
commit8b59b2c13ededb2c82e36193b6d6e969df36531c
tree7b5065279d3c5a6c8bd0ca90584d49bb73aac01c
parent6ef77291122d231754e7292630681dc67c109d60
libbb: move nuke_str() from passwd into libbb

function                                             old     new   delta
nuke_str                                               -      15     +15
ask_and_check_password_extended                      215     206      -9
init_main                                            781     771     -10
nuke_str                                              27       -     -27
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 0/2 up/down: 15/-46)            Total: -31 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
include/libbb.h
init/init.c
libbb/correct_password.c
loginutils/passwd.c