summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDenys Vlasenko2018-07-17 15:04:17 +0200
committerDenys Vlasenko2018-07-17 15:04:17 +0200
commit4c201c00a3650cdacad5fc098ca255416687fb0f (patch)
treefdebcdd9a9a39eee729c45f17d92d042c2adf3f7 /shell
parent0d2e0de42bab54c31ba37f1c6fd10dcdc7008ccf (diff)
downloadbusybox-4c201c00a3650cdacad5fc098ca255416687fb0f.zip
busybox-4c201c00a3650cdacad5fc098ca255416687fb0f.tar.gz
whitespace fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell')
-rw-r--r--shell/hush.c6
-rw-r--r--shell/random.c12
2 files changed, 9 insertions, 9 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 238f997..7da8f33 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -2470,7 +2470,7 @@ static void reinit_unicode_for_hush(void)
*/
if (ENABLE_FEATURE_CHECK_UNICODE_IN_ENV
|| ENABLE_UNICODE_USING_LOCALE
- ) {
+ ) {
const char *s = get_local_var_value("LC_ALL");
if (!s) s = get_local_var_value("LC_CTYPE");
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
*/
setup_string_in_str(&input, str);
- o_addchr(&dest, '\0');
- dest.length = 0;
+ o_addchr(&dest, '\0');
+ dest.length = 0;
exp_str = NULL;
for (;;) {
diff --git a/shell/random.c b/shell/random.c
index 5d36205..56c7c5a 100644
--- a/shell/random.c
+++ b/shell/random.c
@@ -46,11 +46,11 @@ next_random(random_t *rnd)
* Choices for a,b,c: 10,13,10; 8,9,22; 2,7,3; 23,3,24
* (given by algorithm author)
*/
- enum {
- a = 2,
- b = 7,
- c = 3,
- };
+ enum {
+ a = 2,
+ b = 7,
+ c = 3,
+ };
uint32_t t;
@@ -154,7 +154,7 @@ int main(int argc, char **argv)
write(1, buf, sizeof(buf));
}
- return 0;
+ return 0;
}
#endif