setup_environment: code shrink
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Mon, 10 Sep 2007 13:15:28 +0000 (13:15 +0000)
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Mon, 10 Sep 2007 13:15:28 +0000 (13:15 +0000)
commitf4b167752ec1643075ead66e5d3dbbbf52e17bfd
tree51ce422afbda2249a5de22e834ed04e200e0961f
parent87ccc1812e293718ffd488efec3470e9933e8e00
setup_environment: code shrink
run_shell: mark as NORETURN
setup_environment, run_shell: add usage comments
login: add FIXME :(

function                                             old     new   delta
UNSPEC_print                                          64      66      +2
sulogin_main                                         509     506      -3
mkfs_minix_main                                     3070    3067      -3
login_main                                          1615    1612      -3
su_main                                              461     448     -13
setup_environment                                    261     206     -55
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/5 up/down: 2/-77)             Total: -75 bytes
   text    data     bss     dec     hex filename
 772578    1051   10724  784353   bf7e1 busybox_old
 772502    1051   10724  784277   bf795 busybox_unstripped

git-svn-id: svn://busybox.net/trunk/busybox@19813 69ca8d6d-28ef-0310-b511-8ec308f3f277
include/libbb.h
libbb/setup_environment.c
loginutils/login.c
loginutils/su.c
loginutils/sulogin.c