diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-07-17 15:04:17 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-07-17 15:04:17 +0200 |
| commit | 4c201c00a3650cdacad5fc098ca255416687fb0f (patch) | |
| tree | fdebcdd9a9a39eee729c45f17d92d042c2adf3f7 /shell | |
| parent | 0d2e0de42bab54c31ba37f1c6fd10dcdc7008ccf (diff) | |
| download | busybox-w32-4c201c00a3650cdacad5fc098ca255416687fb0f.tar.gz busybox-w32-4c201c00a3650cdacad5fc098ca255416687fb0f.tar.bz2 busybox-w32-4c201c00a3650cdacad5fc098ca255416687fb0f.zip | |
whitespace fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell')
| -rw-r--r-- | shell/hush.c | 6 | ||||
| -rw-r--r-- | shell/random.c | 12 |
2 files changed, 9 insertions, 9 deletions
diff --git a/shell/hush.c b/shell/hush.c index 238f997da..7da8f334c 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
| @@ -2470,7 +2470,7 @@ static void reinit_unicode_for_hush(void) | |||
| 2470 | */ | 2470 | */ |
| 2471 | if (ENABLE_FEATURE_CHECK_UNICODE_IN_ENV | 2471 | if (ENABLE_FEATURE_CHECK_UNICODE_IN_ENV |
| 2472 | || ENABLE_UNICODE_USING_LOCALE | 2472 | || ENABLE_UNICODE_USING_LOCALE |
| 2473 | ) { | 2473 | ) { |
| 2474 | const char *s = get_local_var_value("LC_ALL"); | 2474 | const char *s = get_local_var_value("LC_ALL"); |
| 2475 | if (!s) s = get_local_var_value("LC_CTYPE"); | 2475 | if (!s) s = get_local_var_value("LC_CTYPE"); |
| 2476 | if (!s) s = get_local_var_value("LANG"); | 2476 | if (!s) s = get_local_var_value("LANG"); |
| @@ -5795,8 +5795,8 @@ static char *encode_then_expand_vararg(const char *str, int handle_squotes, int | |||
| 5795 | */ | 5795 | */ |
| 5796 | 5796 | ||
| 5797 | setup_string_in_str(&input, str); | 5797 | setup_string_in_str(&input, str); |
| 5798 | o_addchr(&dest, '\0'); | 5798 | o_addchr(&dest, '\0'); |
| 5799 | dest.length = 0; | 5799 | dest.length = 0; |
| 5800 | exp_str = NULL; | 5800 | exp_str = NULL; |
| 5801 | 5801 | ||
| 5802 | for (;;) { | 5802 | for (;;) { |
diff --git a/shell/random.c b/shell/random.c index 5d3620516..56c7c5a3c 100644 --- a/shell/random.c +++ b/shell/random.c | |||
| @@ -46,11 +46,11 @@ next_random(random_t *rnd) | |||
| 46 | * Choices for a,b,c: 10,13,10; 8,9,22; 2,7,3; 23,3,24 | 46 | * Choices for a,b,c: 10,13,10; 8,9,22; 2,7,3; 23,3,24 |
| 47 | * (given by algorithm author) | 47 | * (given by algorithm author) |
| 48 | */ | 48 | */ |
| 49 | enum { | 49 | enum { |
| 50 | a = 2, | 50 | a = 2, |
| 51 | b = 7, | 51 | b = 7, |
| 52 | c = 3, | 52 | c = 3, |
| 53 | }; | 53 | }; |
| 54 | 54 | ||
| 55 | uint32_t t; | 55 | uint32_t t; |
| 56 | 56 | ||
| @@ -154,7 +154,7 @@ int main(int argc, char **argv) | |||
| 154 | write(1, buf, sizeof(buf)); | 154 | write(1, buf, sizeof(buf)); |
| 155 | } | 155 | } |
| 156 | 156 | ||
| 157 | return 0; | 157 | return 0; |
| 158 | } | 158 | } |
| 159 | 159 | ||
| 160 | #endif | 160 | #endif |
