diff options
author | Ron Yorston <rmy@pobox.com> | 2016-06-07 12:12:07 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-06-19 15:16:27 +0200 |
commit | ce824aecf216536beed00d7817a614ffb8572239 (patch) | |
tree | 2c511d4cfa1d7b62a26a032a152a9d8879b228e4 /miscutils/devmem.c | |
parent | ba12081a9e9b2d90d1924546bc9097abf52cf2b5 (diff) | |
download | busybox-ce824aecf216536beed00d7817a614ffb8572239.tar.gz |
libbb: move common code into run_applet_and_exit
Both calls to run_applet_and_exit are followed by the same code
to print an error message and return status 127. Remove this
duplication and make run_applet_and_exit static.
function old new delta
run_applet_and_exit 675 667 -8
main 119 92 -27
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-35) Total: -35 bytes
Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils/devmem.c')
0 files changed, 0 insertions, 0 deletions