diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2021-09-17 00:47:23 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2021-09-17 00:47:23 +0200 |
commit | 4958c18134eb7ad169cdaf22a9ad957ad4f4858c (patch) | |
tree | 41998c2be7208ca30088107c7f44f1b3abca745c /include | |
parent | 2df4e0a3707ff3b70398177e9e001070e47ca9c5 (diff) |
libbb: code shrink bb_parse_mode
function old new delta
bb_parse_mode 393 398 +5
static.who_mask 16 8 -8
static.perm_mask 24 12 -12
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/2 up/down: 5/-20) Total: -15 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h index 1ec8d2d3b..6727c22b2 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -1607,7 +1607,7 @@ char *bb_ask_noecho_stdin(const char *prompt) FAST_FUNC; int bb_ask_y_confirmation_FILE(FILE *fp) FAST_FUNC; int bb_ask_y_confirmation(void) FAST_FUNC; -/* Returns -1 if input is invalid. current_mode is a base for e.g. "u+rw" */ +/* Returns -1 if input is invalid. cur_mode is a base for e.g. "u+rw" */ int bb_parse_mode(const char* s, unsigned cur_mode) FAST_FUNC; /* |