From 20aab260e2f7011523402464fb079f48e5899890 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 19 Jul 2001 22:28:02 +0000 Subject: Some adjustments, mostly from David McCullough to make busybox be more uClinux friendly. I also adjusted Config.h for uClinux so it will automagically disable apps the arn't going to work without fork() and such. -Erik --- coreutils/ls.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'coreutils/ls.c') diff --git a/coreutils/ls.c b/coreutils/ls.c index bd79cc940..10191476e 100644 --- a/coreutils/ls.c +++ b/coreutils/ls.c @@ -303,6 +303,7 @@ static struct dnode **dnalloc(int num) return(p); } +#ifdef BB_FEATURE_LS_RECURSIVE static void dfree(struct dnode **dnp) { struct dnode *cur, *next; @@ -318,6 +319,7 @@ static void dfree(struct dnode **dnp) } free(dnp); /* free the array holding the dnode pointers */ } +#endif static struct dnode **splitdnarray(struct dnode **dn, int nfiles, int which) { -- cgit v1.2.3