diff options
-rw-r--r-- | shell/ash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/ash.c b/shell/ash.c index 6ce621534..b0b85358f 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -1164,7 +1164,7 @@ enum { | |||
1164 | /* Most machines require the value returned from malloc to be aligned | 1164 | /* Most machines require the value returned from malloc to be aligned |
1165 | * in some way. The following macro will get this right | 1165 | * in some way. The following macro will get this right |
1166 | * on many machines. */ | 1166 | * on many machines. */ |
1167 | SHELL_SIZE = sizeof(union {int i; char *cp; double d; }) - 1, | 1167 | SHELL_SIZE = sizeof(union { int i; char *cp; double d; }) - 1, |
1168 | /* Minimum size of a block */ | 1168 | /* Minimum size of a block */ |
1169 | MINSIZE = SHELL_ALIGN(504), | 1169 | MINSIZE = SHELL_ALIGN(504), |
1170 | }; | 1170 | }; |
@@ -7771,7 +7771,7 @@ static char *funcstring; /* block to allocate strings from */ | |||
7771 | #define EV_TESTED 02 /* exit status is checked; ignore -e flag */ | 7771 | #define EV_TESTED 02 /* exit status is checked; ignore -e flag */ |
7772 | #define EV_BACKCMD 04 /* command executing within back quotes */ | 7772 | #define EV_BACKCMD 04 /* command executing within back quotes */ |
7773 | 7773 | ||
7774 | static const short nodesize[N_NUMBER] = { | 7774 | static const uint8_t nodesize[N_NUMBER] = { |
7775 | [NCMD ] = SHELL_ALIGN(sizeof(struct ncmd)), | 7775 | [NCMD ] = SHELL_ALIGN(sizeof(struct ncmd)), |
7776 | [NPIPE ] = SHELL_ALIGN(sizeof(struct npipe)), | 7776 | [NPIPE ] = SHELL_ALIGN(sizeof(struct npipe)), |
7777 | [NREDIR ] = SHELL_ALIGN(sizeof(struct nredir)), | 7777 | [NREDIR ] = SHELL_ALIGN(sizeof(struct nredir)), |