busybox/console-tools
Denys Vlasenko 648f506949 libbb: code shrink: introduce and use [_]exit_FAILURE()
function                                             old     new   delta
exit_FAILURE                                           -       7      +7
_exit_FAILURE                                          -       7      +7
run                                                  198     199      +1
restore_state_and_exit                               114     115      +1
xbsd_write_bootstrap                                 399     397      -2
vfork_compressor                                     209     207      -2
sig_handler                                           12      10      -2
serial_ctl                                           154     152      -2
parse_args                                          1169    1167      -2
onintr                                                21      19      -2
make_new_session                                     493     491      -2
login_main                                           988     986      -2
gotsig                                                35      33      -2
do_iplink                                           1315    1313      -2
addgroup_main                                        397     395      -2
inetd_main                                          1911    1908      -3
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 2/12 up/down: 16/-25)            Total: -9 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2023-06-15 11:55:56 +02:00
..
chvt.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
clear.c *: use ESC define instead of "\033"; use ESC[m instead of ESC[0m 2017-09-13 22:48:30 +02:00
Config.src restore documentation on the build config language 2018-06-06 15:16:48 +02:00
deallocvt.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
dumpkmap.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
fgconsole.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
kbd_mode.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
Kbuild.src Convert all console-tools/* applets to "new style" applet definitions 2016-11-23 10:39:27 +01:00
loadfont.c Remove "select PLATFORM_LINUX" 2022-11-29 14:14:06 +01:00
loadkmap.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
openvt.c Remove "select PLATFORM_LINUX" 2022-11-29 14:14:06 +01:00
reset.c *: slap on a few ALIGN* where appropriate 2022-02-06 19:53:10 +01:00
resize.c libbb: code shrink: introduce and use [_]exit_FAILURE() 2023-06-15 11:55:56 +02:00
setconsole.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
setkeycodes.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
setlogcons.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
showkey.c runsv: robustify signal handling - SIGTERM to child between vfork and exec could mess things up 2021-06-05 16:20:05 +02:00