*: optimize code size in strtoul calls
function old new delta bb_parse_mode 433 431 -2 rtnl_rtntype_a2n 202 198 -4 ParseField 511 498 -13 bb_init_module_24 4730 4675 -55 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/4 up/down: 0/-74) Total: -74 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
8d338173a4
commit
1f27ab0d4b
8 changed files with 37 additions and 23 deletions
|
@ -40,7 +40,7 @@ int FAST_FUNC bb_parse_mode(const char *s, mode_t *current_mode)
|
|||
mode_t new_mode;
|
||||
char op;
|
||||
|
||||
if (((unsigned int)(*s - '0')) < 8) {
|
||||
if ((unsigned char)(*s - '0') < 8) {
|
||||
unsigned long tmp;
|
||||
char *e;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue