busybox/util-linux
Denis Vlasenko 6eaf0a9883 fdisk: move more data to struct globals; shrink code
function                                             old     new   delta
nowarn                                                 1       -      -1
listing                                                1       -      -1
dos_compatible_flag                                    1       -      -1
warn_cylinders                                        44      42      -2
open_list_and_close                                  364     362      -2
fdisk_fatal                                           41      38      -3
verify                                              1053    1049      -4
user_sectors                                           4       -      -4
user_heads                                             4       -      -4
user_cylinders                                         4       -      -4
pt_sectors                                             4       -      -4
pt_heads                                               4       -      -4
kern_sectors                                           4       -      -4
kern_heads                                             4       -      -4
ext_index                                              4       -      -4
total_number_of_sectors                                8       -      -8
extended_offset                                        8       -      -8
create_doslabel                                      129     120      -9
write_table                                          225     211     -14
delete_partition                                     445     431     -14
set_partition                                        476     459     -17
list_disk_geometry                                   247     229     -18
unable_to_write                                       19       -     -19
add_partition                                       2515    2486     -29
get_boot                                            1709    1636     -73
fdisk_main                                          2812    2679    -133
------------------------------------------------------------------------------
(add/remove: 0/14 grow/shrink: 0/12 up/down: 0/-388)         Total: -388 bytes
   text    data     bss     dec     hex filename
 804634     611    6852  812097   c6441 busybox_old
 804298     610    6804  811712   c62c0 busybox_unstripped
2008-06-29 05:10:47 +00:00
..
volume_id style fixes, no code changes 2008-06-26 14:32:57 +00:00
Config.in - improve wording 2008-05-19 08:25:23 +00:00
dmesg.c - Rob sais that he rewrote it, so reinstate the GPLv2-only boilerplate. 2008-05-20 08:27:26 +00:00
fbset.c *: fix fallout from -Wunused-parameter 2008-03-17 09:04:04 +00:00
fdformat.c *: shrink: use Vladimir's "o+" specifier instead of xatou(opt_param) 2008-03-17 09:09:09 +00:00
fdisk_aix.c fdisk: do not open device twice. Complain on fdisk -l /dev/bogus. 2008-04-17 00:12:10 +00:00
fdisk_osf.c fdisk: move more data to struct globals; shrink code 2008-06-29 05:10:47 +00:00
fdisk_sgi.c fdisk: move more data to struct globals; shrink code 2008-06-29 05:10:47 +00:00
fdisk_sun.c fdisk: move more data to struct globals; shrink code 2008-06-29 05:10:47 +00:00
fdisk.c fdisk: move more data to struct globals; shrink code 2008-06-29 05:10:47 +00:00
findfs.c findfs,mount: trivial build fix and whitespace fiexs 2008-02-19 11:29:46 +00:00
freeramdisk.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
fsck_minix.c mkfs_minix, fsck_minix: code shrink 2008-06-25 10:00:58 +00:00
getopt.c style fixes, no code changes 2008-06-26 14:32:57 +00:00
hexdump.c *: more uniform naming: s/xmalloc_getline/xmalloc_fgetline/ 2008-03-26 20:04:27 +00:00
hwclock.c patch: shrink by Pascal Bellard <pascal.bellard AT ads-lu.com> (-80 bytes) 2008-03-23 22:55:25 +00:00
ipcrm.c - use EXIT_{SUCCESS,FAILURE}. No object-code changes 2008-05-19 09:29:47 +00:00
ipcs.c - use EXIT_{SUCCESS,FAILURE}. No object-code changes 2008-05-19 09:29:47 +00:00
Kbuild build system: use spaces in Kbuild files 2008-04-21 05:07:15 +00:00
losetup.c patch: shrink by Pascal Bellard <pascal.bellard AT ads-lu.com> (-80 bytes) 2008-03-23 22:55:25 +00:00
mdev.c *: introduce and use FAST_FUNC: regparm on i386, otherwise no-on 2008-06-27 02:52:20 +00:00
minix.h minix.h: add very simple test script 2007-06-13 12:49:46 +00:00
mkfs_minix.c mkfs_minix, fsck_minix: code shrink 2008-06-25 10:00:58 +00:00
mkswap.c testsuite/runtest: remove (last) bashism 2008-04-25 08:43:01 +00:00
more.c more -Wall warning fixes. -Wall is enabled now. 2008-05-18 22:28:26 +00:00
mount.c mount: fix mishandling of proto=tcp/udp 2008-06-24 21:39:32 +00:00
pivot_root.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
rdate.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
readprofile.c libbb: introduce xmalloc_xopen_read_close and use where appropriate 2008-04-19 19:32:08 +00:00
rtcwake.c change default rtcwake mode to match changed behavior in upstream util-linux 2008-06-04 10:33:33 +00:00
script.c - use STD*_FILENO some more. No object-code changes 2008-05-19 09:48:17 +00:00
setarch.c *: shrink: use Vladimir's "o+" specifier instead of xatou(opt_param) 2008-03-17 09:09:09 +00:00
swaponoff.c swapon: optional -p PRIO support (by Francois Barel <frabar666 AT gmail.com>) 2008-05-18 23:05:34 +00:00
switch_root.c more -Wall warning fixes from Cristian Ionescu-Idbohrn. 2008-05-13 02:27:31 +00:00
umount.c [u]mount: add/update dietlibc build fix 2008-05-26 01:19:53 +00:00