diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2024-10-07 07:14:27 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2024-10-07 07:14:27 +0200 |
| commit | d26e9587252fdf4774a05e351b86d3a18c46384e (patch) | |
| tree | 9ac2ac9a1c1b642f4bcf9899339f9072b78a0b32 /include | |
| parent | 4c1d645c86f4e7a380d96f9ba962f8b270f595dc (diff) | |
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.h | 1 |
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) MAIN_EXTERNALLY_VISIBLE #endif ; +int FAST_FUNC test_main2(struct cached_groupinfo *pgroupinfo, int argc, char **argv); int kill_main(int argc, char **argv) #if ENABLE_KILL || ENABLE_KILLALL || ENABLE_KILLALL5 MAIN_EXTERNALLY_VISIBLE |
