diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-26 10:42:51 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-26 10:42:51 +0000 |
commit | bf0a201008671f81c107de72c026b1b84967561d (patch) | |
tree | af74820b70fa27929fe218c95822c20651b60637 /coreutils/sort.c | |
parent | 5dd7ef0f37373e397a7160cb431a32ae57f9f7d9 (diff) | |
download | busybox-w32-bf0a201008671f81c107de72c026b1b84967561d.tar.gz busybox-w32-bf0a201008671f81c107de72c026b1b84967561d.tar.bz2 busybox-w32-bf0a201008671f81c107de72c026b1b84967561d.zip |
style fixes
last xcalloc replaced by xzalloc
Diffstat (limited to 'coreutils/sort.c')
-rw-r--r-- | coreutils/sort.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/sort.c b/coreutils/sort.c index c37810f1a..f2152c0a0 100644 --- a/coreutils/sort.c +++ b/coreutils/sort.c | |||
@@ -163,7 +163,7 @@ static int compare_keys(const void *xarg, const void *yarg) | |||
163 | y = get_key(*(char **)yarg, key, flags); | 163 | y = get_key(*(char **)yarg, key, flags); |
164 | #else | 164 | #else |
165 | /* This curly bracket serves no purpose but to match the nesting | 165 | /* This curly bracket serves no purpose but to match the nesting |
166 | level of the for() loop we're not using */ | 166 | level of the for () loop we're not using */ |
167 | { | 167 | { |
168 | x = *(char **)xarg; | 168 | x = *(char **)xarg; |
169 | y = *(char **)yarg; | 169 | y = *(char **)yarg; |
@@ -231,7 +231,7 @@ static int compare_keys(const void *xarg, const void *yarg) | |||
231 | /* Free key copies. */ | 231 | /* Free key copies. */ |
232 | if (x != *(char **)xarg) free(x); | 232 | if (x != *(char **)xarg) free(x); |
233 | if (y != *(char **)yarg) free(y); | 233 | if (y != *(char **)yarg) free(y); |
234 | /* if (retval) break; - done by for() anyway */ | 234 | /* if (retval) break; - done by for () anyway */ |
235 | #else | 235 | #else |
236 | /* Integer version of -n for tiny systems */ | 236 | /* Integer version of -n for tiny systems */ |
237 | case FLAG_n: | 237 | case FLAG_n: |