diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ash.c | 6 | ||||
-rw-r--r-- | shell/shell_common.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/shell/ash.c b/shell/ash.c index da9c95045..faa45a8dc 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -2750,7 +2750,7 @@ pwdcmd(int argc UNUSED_PARAM, char **argv UNUSED_PARAM) | |||
2750 | #else | 2750 | #else |
2751 | # define SIT_ITEM(a,b,c,d) (a | (b << 4) | (c << 8)) | 2751 | # define SIT_ITEM(a,b,c,d) (a | (b << 4) | (c << 8)) |
2752 | #endif | 2752 | #endif |
2753 | static const uint16_t S_I_T[] = { | 2753 | static const uint16_t S_I_T[] ALIGN2 = { |
2754 | #if ENABLE_ASH_ALIAS | 2754 | #if ENABLE_ASH_ALIAS |
2755 | SIT_ITEM(CSPCL , CIGN , CIGN , CIGN ), /* 0, PEOA */ | 2755 | SIT_ITEM(CSPCL , CIGN , CIGN , CIGN ), /* 0, PEOA */ |
2756 | #endif | 2756 | #endif |
@@ -2852,7 +2852,7 @@ SIT(int c, int syntax) | |||
2852 | 2852 | ||
2853 | #else /* !USE_SIT_FUNCTION */ | 2853 | #else /* !USE_SIT_FUNCTION */ |
2854 | 2854 | ||
2855 | static const uint8_t syntax_index_table[] = { | 2855 | static const uint8_t syntax_index_table[] ALIGN1 = { |
2856 | /* BASESYNTAX_DQSYNTAX_SQSYNTAX_ARISYNTAX */ | 2856 | /* BASESYNTAX_DQSYNTAX_SQSYNTAX_ARISYNTAX */ |
2857 | /* 0 */ CWORD_CWORD_CWORD_CWORD, | 2857 | /* 0 */ CWORD_CWORD_CWORD_CWORD, |
2858 | /* 1 */ CWORD_CWORD_CWORD_CWORD, | 2858 | /* 1 */ CWORD_CWORD_CWORD_CWORD, |
@@ -7977,7 +7977,7 @@ static char *funcstring; /* block to allocate strings from */ | |||
7977 | #define EV_TESTED 02 /* exit status is checked; ignore -e flag */ | 7977 | #define EV_TESTED 02 /* exit status is checked; ignore -e flag */ |
7978 | #define EV_BACKCMD 04 /* command executing within back quotes */ | 7978 | #define EV_BACKCMD 04 /* command executing within back quotes */ |
7979 | 7979 | ||
7980 | static const uint8_t nodesize[N_NUMBER] = { | 7980 | static const uint8_t nodesize[N_NUMBER] ALIGN1 = { |
7981 | [NCMD ] = SHELL_ALIGN(sizeof(struct ncmd)), | 7981 | [NCMD ] = SHELL_ALIGN(sizeof(struct ncmd)), |
7982 | [NPIPE ] = SHELL_ALIGN(sizeof(struct npipe)), | 7982 | [NPIPE ] = SHELL_ALIGN(sizeof(struct npipe)), |
7983 | [NREDIR ] = SHELL_ALIGN(sizeof(struct nredir)), | 7983 | [NREDIR ] = SHELL_ALIGN(sizeof(struct nredir)), |
diff --git a/shell/shell_common.c b/shell/shell_common.c index 8c9607c8c..14eeaafcc 100644 --- a/shell/shell_common.c +++ b/shell/shell_common.c | |||
@@ -328,7 +328,7 @@ enum { | |||
328 | }; | 328 | }; |
329 | 329 | ||
330 | /* "-": treat args as parameters of option with ASCII code 1 */ | 330 | /* "-": treat args as parameters of option with ASCII code 1 */ |
331 | static const char ulimit_opt_string[] = "-HSa" | 331 | static const char ulimit_opt_string[] ALIGN1 = "-HSa" |
332 | #ifdef RLIMIT_FSIZE | 332 | #ifdef RLIMIT_FSIZE |
333 | "f::" | 333 | "f::" |
334 | #endif | 334 | #endif |