diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-04-01 18:47:57 +0400 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-04-01 18:47:57 +0400 |
commit | 468aea2d8800cc0496383616d82d7c957ae8bc50 (patch) | |
tree | 8a2f3d80dc2440dd007caed4cfa235b3858c9170 /procps | |
parent | 165f5b394fa337e71e08435b51108f4394199b2b (diff) |
shells: do not frocibly enable test, echo and kill _applets_,
just build relevant source and use xxx_main functions.
build system: add a special case when we have exactly one applet enabled
(makes "true", "false", "basename" REALLY tiny).
getopt32: do not use stdio.
function old new delta
getopt32 1385 1412 +27
make_device 1187 1200 +13
basename_main 120 127 +7
tcpudpsvd_main 1922 1926 +4
testcmd 5 - -5
echocmd 5 - -5
fuser_main 1243 1231 -12
------------------------------------------------------------------------------
(add/remove: 0/2 grow/shrink: 4/1 up/down: 51/-22) Total: 29 bytes
Diffstat (limited to 'procps')
-rw-r--r-- | procps/kill.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/procps/kill.c b/procps/kill.c index a77d66e7a..b839b3819 100644 --- a/procps/kill.c +++ b/procps/kill.c @@ -24,7 +24,6 @@ * This is needed to avoid collision with kill -9 ... syntax */ -int kill_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int kill_main(int argc, char **argv) { char *arg; |