busybox/util-linux
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
..
volume_id decrease paddign: gcc-9.3.1 slaps 32-byte alignment on arrays willy-nilly 2020-11-30 13:03:03 +01:00
Config.src restore documentation on the build config language 2018-06-06 15:16:48 +02:00
Kbuild.src Convert all util-linux/* applets to "new style" applet definitions 2016-11-23 11:46:32 +01:00
acpid.c Remove "select PLATFORM_LINUX" 2022-11-29 14:14:06 +01:00
blkdiscard.c Remove "select PLATFORM_LINUX" 2022-11-29 14:14:06 +01:00
blkid.c Remove "select PLATFORM_LINUX" 2022-11-29 14:14:06 +01:00
blockdev.c blockdev: support --get/setra 2021-06-16 17:00:56 +02:00
cal.c libbb: factor out fflush_stdout_and_exit(EXIT_SUCCESS) 2022-01-04 23:31:58 +01:00
chrt.c libbb: factor out fflush_stdout_and_exit(EXIT_SUCCESS) 2022-01-04 23:31:58 +01:00
dmesg.c Remove "select PLATFORM_LINUX" 2022-11-29 14:14:06 +01:00
eject.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
fallocate.c config: update size information 2018-12-28 03:20:17 +01:00
fatattr.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
fbset.c fbset: support setting pixel clock rate 2022-11-16 13:40:34 +01:00
fdformat.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
fdisk.c Remove "select PLATFORM_LINUX" 2022-11-29 14:14:06 +01:00
fdisk_aix.c fdisk_aix: fix aliasing warning, comment out unused global variables 2019-10-04 17:16:15 +02:00
fdisk_gpt.c libbb: introduce and use fputs_stdout 2021-02-03 20:52:40 +01:00
fdisk_osf.c libbb: code shrink: introduce and use [_]exit_FAILURE() 2023-06-15 11:55:56 +02:00
fdisk_sgi.c decrease paddign: gcc-9.3.1 slaps 32-byte alignment on arrays willy-nilly 2020-11-30 13:03:03 +01:00
fdisk_sun.c *: add more beneficial NOINLINEs 2021-10-10 14:32:05 +02:00
findfs.c Remove "select PLATFORM_LINUX" 2022-11-29 14:14:06 +01:00
flock.c *: more --help tweaking 2021-06-13 03:51:55 +02:00
freeramdisk.c Remove "select PLATFORM_LINUX" 2022-11-29 14:14:06 +01:00
fsck_minix.c libbb: code shrink: introduce and use [_]exit_SUCCESS() 2022-01-05 22:16:06 +01:00
fsfreeze.c Remove "select PLATFORM_LINUX" 2022-11-29 14:14:06 +01:00
fstrim.c Remove "select PLATFORM_LINUX" 2022-11-29 14:14:06 +01:00
getopt.c getopt: code shrink 2021-09-16 01:09:32 +02:00
hexdump.c hexdump: code shrink 2023-05-26 16:43:40 +02:00
hexdump_xxd.c hexdump, xxd: shrink strings 2023-05-26 14:46:29 +02:00
hwclock.c Remove "select PLATFORM_LINUX" 2022-11-29 14:14:06 +01:00
ionice.c Remove "select PLATFORM_LINUX" 2022-11-29 14:14:06 +01:00
ipcrm.c config: update size information 2018-12-28 03:20:17 +01:00
ipcs.c libbb: factor out fflush_stdout_and_exit(EXIT_SUCCESS) 2022-01-04 23:31:58 +01:00
last.c libbb: factor out fflush_stdout_and_exit(EXIT_SUCCESS) 2022-01-04 23:31:58 +01:00
last_fancy.c libbb: factor out fflush_stdout_and_exit(EXIT_SUCCESS) 2022-01-04 23:31:58 +01:00
losetup.c Remove "select PLATFORM_LINUX" 2022-11-29 14:14:06 +01:00
lspci.c libbb: shrink recursive_action() by reducing memory pressure 2020-10-01 21:52:16 +02:00
lsusb.c libbb: shrink recursive_action() by reducing memory pressure 2020-10-01 21:52:16 +02:00
mdev.c Remove "select PLATFORM_LINUX" 2022-11-29 14:14:06 +01:00
mesg.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
minix.h more bionic fixes 2016-03-14 19:34:15 +01:00
mkfs_ext2.c Remove "select PLATFORM_LINUX" 2022-11-29 14:14:06 +01:00
mkfs_ext2.txt mkfs_ext2: use compatible inode sizes; add -I <inodesize>. (by Vladimir) 2009-10-22 12:12:17 +02:00
mkfs_ext2_test.sh fix more instances of ": $((a++))" in shell scripts 2017-07-15 19:20:45 +02:00
mkfs_minix.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
mkfs_reiser.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
mkfs_vfat.c mkfs_vfat: do not generate same volume_id when run in rapid succession 2023-04-10 14:47:38 +02:00
mkswap.c libbb: add and use infrastructure for fixed page size optimization 2020-12-14 18:54:30 +01:00
more.c libbb: code shrink: introduce and use [_]exit_FAILURE() 2023-06-15 11:55:56 +02:00
mount.c Remove "select PLATFORM_LINUX" 2022-11-29 14:14:06 +01:00
mountpoint.c *: more --help tweaking 2021-06-13 03:51:55 +02:00
nologin.c nologin: make it possible to build it as single applet 2020-06-24 15:05:22 +02:00
nsenter.c Remove "select PLATFORM_LINUX" 2022-11-29 14:14:06 +01:00
pivot_root.c Remove "select PLATFORM_LINUX" 2022-11-29 14:14:06 +01:00
rdate.c libbb: introduce and use xsettimeofday() 2020-12-16 21:36:36 +01:00
rdev.c config: update size information 2018-12-28 03:20:17 +01:00
readprofile.c *: more --help tweaking 2021-06-13 03:51:55 +02:00
renice.c *: more --help tweaks 2021-06-15 10:00:18 +02:00
rev.c rev: correct output for long input lines 2021-08-22 00:08:18 +02:00
rtcwake.c move ADJTIME_PATH define to header files 2020-12-17 20:53:43 +01:00
script.c libbb: introduce and use xgettimeofday(), do not truncate 64-bit time_t in shells 2020-12-30 23:48:01 +01:00
scriptreplay.c config: update size information 2018-12-28 03:20:17 +01:00
setarch.c Remove "select PLATFORM_LINUX" 2022-11-29 14:14:06 +01:00
setpriv.c Remove "select PLATFORM_LINUX" 2022-11-29 14:14:06 +01:00
setsid.c config: update size information 2018-12-28 03:20:17 +01:00
swaponoff.c Remove "select PLATFORM_LINUX" 2022-11-29 14:14:06 +01:00
switch_root.c Remove "select PLATFORM_LINUX" 2022-11-29 14:14:06 +01:00
taskset.c taskset: fix printf format mismatch in !FEATURE_TASKSET_FANCY config. closes 14616 2022-03-01 10:49:17 +01:00
uevent.c Remove "select PLATFORM_LINUX" 2022-11-29 14:14:06 +01:00
umount.c help text: replace [OPTIONS] with actual options (if not too long) 2020-12-13 22:34:05 +01:00
unshare.c Remove "select PLATFORM_LINUX" 2022-11-29 14:14:06 +01:00
wall.c config: update size information 2018-12-28 03:20:17 +01:00