aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2024-10-07 07:14:27 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2024-10-07 07:14:27 +0200
commitd26e9587252fdf4774a05e351b86d3a18c46384e (patch)
tree9ac2ac9a1c1b642f4bcf9899339f9072b78a0b32 /include
parent4c1d645c86f4e7a380d96f9ba962f8b270f595dc (diff)
downloadbusybox-w32-d26e9587252fdf4774a05e351b86d3a18c46384e.tar.gz
busybox-w32-d26e9587252fdf4774a05e351b86d3a18c46384e.tar.bz2
busybox-w32-d26e9587252fdf4774a05e351b86d3a18c46384e.zip
ash: make "test -x" use cached groupinfo
function old new delta test_main2 - 407 +407 testcmd 10 23 +13 test_main 418 56 -362 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 1/1 up/down: 420/-362) Total: 58 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 99bbf623b..8748464ed 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -1550,6 +1550,7 @@ int test_main(int argc, char **argv)
1550 MAIN_EXTERNALLY_VISIBLE 1550 MAIN_EXTERNALLY_VISIBLE
1551#endif 1551#endif
1552; 1552;
1553int FAST_FUNC test_main2(struct cached_groupinfo *pgroupinfo, int argc, char **argv);
1553int kill_main(int argc, char **argv) 1554int kill_main(int argc, char **argv)
1554#if ENABLE_KILL || ENABLE_KILLALL || ENABLE_KILLALL5 1555#if ENABLE_KILL || ENABLE_KILLALL || ENABLE_KILLALL5
1555 MAIN_EXTERNALLY_VISIBLE 1556 MAIN_EXTERNALLY_VISIBLE