diff options
author | Denis Vlasenko | 2007-04-29 23:42:54 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-04-29 23:42:54 +0000 |
commit | f20de5bb42f9a4f2c8417f6a1a2db7e2f2cafd5b (patch) | |
tree | 4fc060596d599d6ac86bc964970c466496f67954 /include | |
parent | d4728145e37dca844dded6f8723ef9fe7f9293b4 (diff) | |
download | busybox-f20de5bb42f9a4f2c8417f6a1a2db7e2f2cafd5b.zip busybox-f20de5bb42f9a4f2c8417f6a1a2db7e2f2cafd5b.tar.gz |
ash,kill: use common code for kill applet/builtin
# make bloatcheck
function old new delta
evaltreenr 644 654 +10
evaltree 644 654 +10
parse_conf 1440 1444 +4
dpkg_deb_main 426 429 +3
ed_main 3319 3321 +2
passwd_main 2093 2091 -2
kill_main 830 826 -4
singlemount 4609 4601 -8
find_command 962 954 -8
get_lcm 123 105 -18
.rodata 132243 132147 -96
killcmd 449 120 -329
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 5/7 up/down: 29/-465) Total: -436 bytes
# size busybox_old busybox_unstripped
text data bss dec hex filename
723901 2940 27504 754345 b82a9 busybox_old
723457 2940 27504 753901 b80ed busybox_unstripped
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index 9950c61..be51f25 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -636,6 +636,7 @@ extern void bb_vinfo_msg(const char *s, va_list p); int bb_cat(char** argv); int bb_echo(char** argv); int bb_test(int argc, char** argv); +int kill_main(int argc, char **argv); #if ENABLE_ROUTE void bb_displayroutes(int noresolve, int netstatfmt); #endif |