Denys Vlasenko
|
93c1a25c59
|
ifenslave: remove longopts from --help text
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2017-08-07 22:30:59 +02:00 |
|
Denys Vlasenko
|
72089cf6b4
|
config: deindent all help texts
Those two spaces after tab have no effect, and always a nuisance when editing.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2017-07-21 09:50:55 +02:00 |
|
Denys Vlasenko
|
4eed2c6c50
|
Update menuconfig items with approximate applet sizes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2017-07-18 22:01:24 +02:00 |
|
Denys Vlasenko
|
10ad622dc2
|
Spelling fixes in comments, documentation, tests and examples
By klemens <ka7@github.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2017-04-17 16:13:32 +02:00 |
|
Denys Vlasenko
|
47367e1d50
|
Convert all networking/* applets to "new style" applet definitions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2016-11-23 09:05:14 +01:00 |
|
Denys Vlasenko
|
7f3a2a2256
|
join some common strings, -400 bytes
function old new delta
print_intel_cstates 499 511 +12
file_insert 355 364 +9
dpkg_main 2944 2940 -4
ifenslave_main 645 640 -5
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/2 up/down: 21/-9) Total: 12 bytes
text data bss dec hex filename
937564 932 17676 956172 e970c busybox_old
937164 932 17676 955772 e957c busybox_unstripped
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2015-10-08 11:24:44 +02:00 |
|
Denys Vlasenko
|
60cb48ca50
|
whitespace cleanup. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2013-01-14 15:57:44 +01:00 |
|
Mike Frysinger
|
a38f9faa9f
|
ifenslave: fix missing close paren
Reported-by: David J Cozatt <ygdrasil@comcast.net>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
2012-12-26 17:12:26 -05:00 |
|
Denys Vlasenko
|
66426760be
|
*: remove "Options:" string from help texts
function old new delta
packed_usage 28706 28623 -83
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-06-05 03:58:28 +02:00 |
|
Pere Orga
|
5bc8c005a8
|
move remaining help text from include/usage.src.h
Signed-off-by: Pere Orga <gotrunks@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2011-04-11 03:29:49 +02:00 |
|
Denys Vlasenko
|
5342c3f310
|
clean up redundant, commented-out and misplaced includes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2010-04-01 15:09:44 +02:00 |
|
Denys Vlasenko
|
ecb179b6d7
|
ifenslave: fix for 2.4 kernels compile
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2009-09-23 23:47:52 +02:00 |
|
Denys Vlasenko
|
0568b6e45a
|
randomconfig fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2009-08-08 03:20:12 +02:00 |
|
Denys Vlasenko
|
f3b92d3856
|
getopt: FEATURE_GETOPT_LONG for -l; rename GETOPT_LONG to LONG_OPTS
Signed-off-by: Colin Watson <cjwatson@ubuntu.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2009-06-19 12:10:38 +02:00 |
|
Denis Vlasenko
|
360d9661b6
|
libbb: add strncpy_IFNAMSIZ
function old new delta
...
udhcp_read_interface 225 220 -5
brctl_main 1151 1146 -5
add_interface 109 104 -5
ipaddr_list_or_flush 2174 2167 -7
do_add_ioctl 88 80 -8
vconfig_main 249 240 -9
do_del_ioctl 78 68 -10
do_iplink 1186 1173 -13
do_if_fetch 766 753 -13
buffer_fill_and_print 196 179 -17
parse_args 1709 1684 -25
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/20 up/down: 11/-140) Total: -129 bytes
|
2008-12-02 18:18:50 +00:00 |
|
Denis Vlasenko
|
ee9deb863e
|
ifenslave: on uclibc at least, net/if.h + linux/if_bonding.h dont coexist
|
2008-09-06 14:52:28 +00:00 |
|
Denis Vlasenko
|
ee34ebe966
|
ifenslave: wants net/if.h
|
2008-09-06 14:42:27 +00:00 |
|
Denis Vlasenko
|
a60f84ebf0
|
*: rename ATTRIBUTE_XXX to just XXX.
|
2008-07-05 09:18:54 +00:00 |
|
Denis Vlasenko
|
7049ff8696
|
whitespace fixes. no code changes
|
2008-06-25 09:53:17 +00:00 |
|
Denis Vlasenko
|
048897c971
|
ifenslave: small shrink
text data bss dec hex filename
809731 624 7060 817415 c7907 busybox_old
809629 624 7060 817313 c78a1 busybox_unstripped
|
2008-06-08 08:01:12 +00:00 |
|
Denis Vlasenko
|
b597564e4c
|
ifenslave: tiny shrink
text data bss dec hex filename
2221 0 0 2221 8ad busybox.t5/networking/ifenslave.o
2215 0 0 2215 8a7 busybox.t6/networking/ifenslave.o
|
2008-06-08 00:24:43 +00:00 |
|
Denis Vlasenko
|
c8fa04f9b1
|
ifenslave: further shrink by suppressing excessive inlining
ifenslave: reorder functions to avoid forward declarations
function old new delta
enslave - 531 +531
get_drv_info - 176 +176
ifenslave_main 1411 671 -740
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 0/1 up/down: 707/-740) Total: -33 bytes
text data bss dec hex filename
809737 624 7060 817421 c790d busybox_old
809704 624 7060 817388 c78ec busybox_unstripped
|
2008-06-07 22:14:25 +00:00 |
|
Denis Vlasenko
|
0876822ded
|
ifenslave: fix improper longopts definition
ifenslave: shrink
function old new delta
set_hwaddr - 45 +45
set_ifrname_and_do_ioctl - 26 +26
set_mtu - 25 +25
ioctl_on_skfd - 13 +13
static.ifenslave_longopts 31 34 +3
set_if_up 39 36 -3
set_if_down 39 36 -3
set_if_flags 38 26 -12
static.ifra 32 16 -16
get_slave_flags 40 24 -16
get_if_settings 98 67 -31
set_slave_mtu 37 - -37
set_slave_hwaddr 52 - -52
set_master_hwaddr 52 - -52
ifenslave_main 1566 1411 -155
------------------------------------------------------------------------------
(add/remove: 4/3 grow/shrink: 1/7 up/down: 112/-377) Total: -265 bytes
text data bss dec hex filename
810002 624 7060 817686 c7a16 busybox_old
809737 624 7060 817421 c790d busybox_unstripped
|
2008-06-07 22:13:04 +00:00 |
|
Denis Vlasenko
|
38100a4ebe
|
ifenslave: add forgotten INIT_G()
|
2008-05-20 18:57:35 +00:00 |
|
Denis Vlasenko
|
6b06cb80be
|
more of -Wall fixes from Cristian Ionescu-Idbohrn.
Some are fixing real bugs.
function old new delta
syslogd_main 938 958 +20
get_signum 136 143 +7
obj_load 777 782 +5
recv_from_to 210 214 +4
get_next_block 1795 1799 +4
display_topmem_process_list 1117 1121 +4
logread_main 484 487 +3
buffer_fill_and_print 73 76 +3
kill_main 687 689 +2
ll_remember_index 240 241 +1
do_stats 452 453 +1
if_readconf 166 165 -1
display_process_list 1192 1191 -1
run_applet_and_exit 507 505 -2
print_signames 33 31 -2
parse_one_line 1092 1090 -2
find_out_spec 57 55 -2
add_ksymoops_symbols 421 419 -2
ash_main 1407 1402 -5
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 11/8 up/down: 54/-17) Total: 37 bytes
|
2008-05-15 21:30:45 +00:00 |
|
Denis Vlasenko
|
01eaee9309
|
*: s/IF_NAMESIZE/IFNAMSIZ/, regularize its use a bit.
function old new delta
strncpy_IFNAMSIZ - 13 +13
set_slave_mtu 39 37 -2
set_slave_hwaddr 52 50 -2
set_master_hwaddr 52 50 -2
set_if_flags 40 38 -2
get_if_settings 101 98 -3
ifenslave_main 1680 1661 -19
vconfig_main 306 280 -26
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 0/7 up/down: 13/-56) Total: -43 bytes
|
2008-04-21 02:21:45 +00:00 |
|
Denis Vlasenko
|
2570b2e575
|
whitespace fixes
|
2008-03-28 01:00:09 +00:00 |
|
Denis Vlasenko
|
c693840fe8
|
*: whitespace fixes, no code changes
|
2008-03-24 02:18:03 +00:00 |
|
Denis Vlasenko
|
68404f13d4
|
*: add -Wunused-parameter; fix resulting breakage
function old new delta
procps_scan 1265 1298 +33
aliascmd 278 283 +5
parse_file_cmd 116 120 +4
dname_enc 373 377 +4
setcmd 90 93 +3
execcmd 57 60 +3
count_lines 72 74 +2
process_command_subs 340 339 -1
test_main 409 407 -2
mknod_main 179 177 -2
handle_incoming_and_exit 2653 2651 -2
argstr 1312 1310 -2
shiftcmd 131 128 -3
exitcmd 46 43 -3
dotcmd 297 294 -3
breakcmd 86 83 -3
evalpipe 353 349 -4
evalcommand 1180 1176 -4
evalcmd 109 105 -4
send_tree 374 369 -5
mkfifo_main 82 77 -5
evalsubshell 152 147 -5
typecmd 75 69 -6
letcmd 61 55 -6
add_cmd 1190 1183 -7
main 891 883 -8
ash_main 1415 1407 -8
parse_stream 1377 1367 -10
alloc_procps_scan 55 - -55
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 7/21 up/down: 54/-148) Total: -94 bytes
text data bss dec hex filename
797195 658 7428 805281 c49a1 busybox_old
797101 658 7428 805187 c4943 busybox_unstripped
|
2008-03-17 09:00:54 +00:00 |
|
Denis Vlasenko
|
574f2f4394
|
*: add optimization barrier to all "G trick" locations
|
2008-02-27 18:41:59 +00:00 |
|
Denis Vlasenko
|
06aed4316e
|
ifenslave: new applet. closes bug 115.
|
2008-02-26 18:25:24 +00:00 |
|