diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2013-01-15 13:58:01 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2013-01-15 13:58:01 +0100 |
commit | 6830ade6aa91dad5afe6abf9d1e4f696f5641bf1 (patch) | |
tree | 0b7de8e0cbaa864f742901814f734549270e5ff9 /coreutils | |
parent | 30a8652fbf16884490cee4a624f039a9ab587269 (diff) | |
download | busybox-w32-6830ade6aa91dad5afe6abf9d1e4f696f5641bf1.tar.gz busybox-w32-6830ade6aa91dad5afe6abf9d1e4f696f5641bf1.tar.bz2 busybox-w32-6830ade6aa91dad5afe6abf9d1e4f696f5641bf1.zip |
whitespace fixes. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/cal.c | 4 | ||||
-rw-r--r-- | coreutils/chown.c | 4 | ||||
-rw-r--r-- | coreutils/df.c | 4 | ||||
-rw-r--r-- | coreutils/sort.c | 2 | ||||
-rw-r--r-- | coreutils/sum.c | 4 |
5 files changed, 9 insertions, 9 deletions
diff --git a/coreutils/cal.c b/coreutils/cal.c index 0b2307349..0d388aa1c 100644 --- a/coreutils/cal.c +++ b/coreutils/cal.c | |||
@@ -43,7 +43,7 @@ static const unsigned char days_in_month[] ALIGN1 = { | |||
43 | }; | 43 | }; |
44 | 44 | ||
45 | static const unsigned char sep1752[] ALIGN1 = { | 45 | static const unsigned char sep1752[] ALIGN1 = { |
46 | 1, 2, 14, 15, 16, | 46 | 1, 2, 14, 15, 16, |
47 | 17, 18, 19, 20, 21, 22, 23, | 47 | 17, 18, 19, 20, 21, 22, 23, |
48 | 24, 25, 26, 27, 28, 29, 30 | 48 | 24, 25, 26, 27, 28, 29, 30 |
49 | }; | 49 | }; |
@@ -183,7 +183,7 @@ int cal_main(int argc UNUSED_PARAM, char **argv) | |||
183 | center(lineout, | 183 | center(lineout, |
184 | (WEEK_LEN * 3 + HEAD_SEP * 2) | 184 | (WEEK_LEN * 3 + HEAD_SEP * 2) |
185 | + julian * (J_WEEK_LEN * 2 + HEAD_SEP | 185 | + julian * (J_WEEK_LEN * 2 + HEAD_SEP |
186 | - (WEEK_LEN * 3 + HEAD_SEP * 2)), | 186 | - (WEEK_LEN * 3 + HEAD_SEP * 2)), |
187 | 0 | 187 | 0 |
188 | ); | 188 | ); |
189 | puts("\n"); /* two \n's */ | 189 | puts("\n"); /* two \n's */ |
diff --git a/coreutils/chown.c b/coreutils/chown.c index bb166d8fe..1a9127622 100644 --- a/coreutils/chown.c +++ b/coreutils/chown.c | |||
@@ -126,8 +126,8 @@ int chown_main(int argc UNUSED_PARAM, char **argv) | |||
126 | /* This matches coreutils behavior (almost - see below) */ | 126 | /* This matches coreutils behavior (almost - see below) */ |
127 | param.chown_func = chown; | 127 | param.chown_func = chown; |
128 | if (OPT_NODEREF | 128 | if (OPT_NODEREF |
129 | /* || (OPT_RECURSE && !OPT_TRAVERSE_TOP): */ | 129 | /* || (OPT_RECURSE && !OPT_TRAVERSE_TOP): */ |
130 | IF_DESKTOP( || (opt & (BIT_RECURSE|BIT_TRAVERSE_TOP)) == BIT_RECURSE) | 130 | IF_DESKTOP( || (opt & (BIT_RECURSE|BIT_TRAVERSE_TOP)) == BIT_RECURSE) |
131 | ) { | 131 | ) { |
132 | param.chown_func = lchown; | 132 | param.chown_func = lchown; |
133 | } | 133 | } |
diff --git a/coreutils/df.c b/coreutils/df.c index 2c72e82a4..5e9a8670f 100644 --- a/coreutils/df.c +++ b/coreutils/df.c | |||
@@ -110,8 +110,8 @@ int df_main(int argc UNUSED_PARAM, char **argv) | |||
110 | df_disp_hr = xatoul_range(chp, 1, ULONG_MAX); /* disallow 0 */ | 110 | df_disp_hr = xatoul_range(chp, 1, ULONG_MAX); /* disallow 0 */ |
111 | 111 | ||
112 | /* From the manpage of df from coreutils-6.10: | 112 | /* From the manpage of df from coreutils-6.10: |
113 | Disk space is shown in 1K blocks by default, unless the environment | 113 | * Disk space is shown in 1K blocks by default, unless the environment |
114 | variable POSIXLY_CORRECT is set, in which case 512-byte blocks are used. | 114 | * variable POSIXLY_CORRECT is set, in which case 512-byte blocks are used. |
115 | */ | 115 | */ |
116 | if (getenv("POSIXLY_CORRECT")) /* TODO - a new libbb function? */ | 116 | if (getenv("POSIXLY_CORRECT")) /* TODO - a new libbb function? */ |
117 | df_disp_hr = 512; | 117 | df_disp_hr = 512; |
diff --git a/coreutils/sort.c b/coreutils/sort.c index 1df07285c..a1625fc9c 100644 --- a/coreutils/sort.c +++ b/coreutils/sort.c | |||
@@ -219,7 +219,7 @@ static int compare_keys(const void *xarg, const void *yarg) | |||
219 | y = get_key(*(char **)yarg, key, flags); | 219 | y = get_key(*(char **)yarg, key, flags); |
220 | #else | 220 | #else |
221 | /* This curly bracket serves no purpose but to match the nesting | 221 | /* This curly bracket serves no purpose but to match the nesting |
222 | level of the for () loop we're not using */ | 222 | * level of the for () loop we're not using */ |
223 | { | 223 | { |
224 | x = *(char **)xarg; | 224 | x = *(char **)xarg; |
225 | y = *(char **)yarg; | 225 | y = *(char **)yarg; |
diff --git a/coreutils/sum.c b/coreutils/sum.c index 95110a6da..75f6ef60a 100644 --- a/coreutils/sum.c +++ b/coreutils/sum.c | |||
@@ -94,8 +94,8 @@ int sum_main(int argc UNUSED_PARAM, char **argv) | |||
94 | n = sum_file("-", type); | 94 | n = sum_file("-", type); |
95 | } else { | 95 | } else { |
96 | /* Need to print the name if either | 96 | /* Need to print the name if either |
97 | - more than one file given | 97 | * - more than one file given |
98 | - doing sysv */ | 98 | * - doing sysv */ |
99 | type += (argv[1] || type == SUM_SYSV); | 99 | type += (argv[1] || type == SUM_SYSV); |
100 | n = 1; | 100 | n = 1; |
101 | do { | 101 | do { |