summaryrefslogtreecommitdiff
path: root/coreutils/ls.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-12-26 10:42:51 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-12-26 10:42:51 +0000
commitbf0a201008671f81c107de72c026b1b84967561d (patch)
treeaf74820b70fa27929fe218c95822c20651b60637 /coreutils/ls.c
parent5dd7ef0f37373e397a7160cb431a32ae57f9f7d9 (diff)
downloadbusybox-w32-bf0a201008671f81c107de72c026b1b84967561d.tar.gz
busybox-w32-bf0a201008671f81c107de72c026b1b84967561d.tar.bz2
busybox-w32-bf0a201008671f81c107de72c026b1b84967561d.zip
style fixes
last xcalloc replaced by xzalloc
Diffstat (limited to 'coreutils/ls.c')
-rw-r--r--coreutils/ls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c
index 960c161b0..ae28f6420 100644
--- a/coreutils/ls.c
+++ b/coreutils/ls.c
@@ -291,7 +291,7 @@ static void dfree(struct dnode **dnp, int nfiles)
291 free(dnp); /* free the array holding the dnode pointers */ 291 free(dnp); /* free the array holding the dnode pointers */
292} 292}
293#else 293#else
294#define dfree(...) do {} while(0) 294#define dfree(...) do {} while (0)
295#endif 295#endif
296 296
297static struct dnode **splitdnarray(struct dnode **dn, int nfiles, int which) 297static struct dnode **splitdnarray(struct dnode **dn, int nfiles, int which)
@@ -375,7 +375,7 @@ static void dnsort(struct dnode **dn, int size)
375 qsort(dn, size, sizeof(*dn), sortcmp); 375 qsort(dn, size, sizeof(*dn), sortcmp);
376} 376}
377#else 377#else
378#define dnsort(dn, size) do {} while(0) 378#define dnsort(dn, size) do {} while (0)
379#endif 379#endif
380 380
381 381