mirror of
https://github.com/sheumann/hush.git
synced 2024-12-28 07:30:23 +00:00
ash: trivial shrink by using smaller int
function old new delta copynode 197 196 -1 calcsize 127 126 -1 nodesize 54 27 -27 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-29) Total: -29 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
f26e98f4e9
commit
0e5e4eaf7b
@ -7771,7 +7771,7 @@ static char *funcstring; /* block to allocate strings from */
|
||||
#define EV_TESTED 02 /* exit status is checked; ignore -e flag */
|
||||
#define EV_BACKCMD 04 /* command executing within back quotes */
|
||||
|
||||
static const short nodesize[N_NUMBER] = {
|
||||
static const uint8_t nodesize[N_NUMBER] = {
|
||||
[NCMD ] = SHELL_ALIGN(sizeof(struct ncmd)),
|
||||
[NPIPE ] = SHELL_ALIGN(sizeof(struct npipe)),
|
||||
[NREDIR ] = SHELL_ALIGN(sizeof(struct nredir)),
|
||||
|
Loading…
Reference in New Issue
Block a user