aboutsummaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2018-11-01 11:04:47 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2018-11-01 11:07:26 +0100
commit151de441e7a19ce3afba0c59b083240a801222cf (patch)
treeab4574bf623c162848b20d6495d139df23e337fd /include/libbb.h
parentaa2959c90d9c3217ddb6f482b82fef7234ad9bde (diff)
downloadbusybox-151de441e7a19ce3afba0c59b083240a801222cf.tar.gz
ash: recognize embedded scripts in SH_STANDALONE mode
function old new delta find_script_by_name - 51 +51 shellexec 254 271 +17 find_command 990 1007 +17 evalcommand 1653 1661 +8 doCommands 2233 2222 -11 run_applet_and_exit 128 100 -28 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 6/4 up/down: 104/-52) Total: 52 bytes Signed-off-by: Ron Yorston <rmy@pobox.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h
index affff5874..a32608ebd 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -1322,7 +1322,7 @@ void bb_logenv_override(void) FAST_FUNC;
#endif
/* Embedded script support */
-//int find_script_by_name(const char *arg IF_FEATURE_SH_STANDALONE(, int offset)) FAST_FUNC;
+int find_script_by_name(const char *name) FAST_FUNC;
char *get_script_content(unsigned n) FAST_FUNC;
/* Applets which are useful from another applets */