aboutsummaryrefslogtreecommitdiff
path: root/ls.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-07-19 22:28:02 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-07-19 22:28:02 +0000
commitd997e48ccc3987112bc58387f78d4727559d66f5 (patch)
treef7822e652f54884459d525f57f1ef18c03a126f7 /ls.c
parent43422b1ad537cdb32cb2c6474135cc2ac4ef297b (diff)
downloadbusybox-w32-d997e48ccc3987112bc58387f78d4727559d66f5.tar.gz
busybox-w32-d997e48ccc3987112bc58387f78d4727559d66f5.tar.bz2
busybox-w32-d997e48ccc3987112bc58387f78d4727559d66f5.zip
Some adjustments, mostly from David McCullough <davidm@lineo.com> 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 git-svn-id: svn://busybox.net/trunk/busybox@3130 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'ls.c')
-rw-r--r--ls.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ls.c b/ls.c
index bd79cc940..10191476e 100644
--- a/ls.c
+++ b/ls.c
@@ -303,6 +303,7 @@ static struct dnode **dnalloc(int num)
303 return(p); 303 return(p);
304} 304}
305 305
306#ifdef BB_FEATURE_LS_RECURSIVE
306static void dfree(struct dnode **dnp) 307static void dfree(struct dnode **dnp)
307{ 308{
308 struct dnode *cur, *next; 309 struct dnode *cur, *next;
@@ -318,6 +319,7 @@ static void dfree(struct dnode **dnp)
318 } 319 }
319 free(dnp); /* free the array holding the dnode pointers */ 320 free(dnp); /* free the array holding the dnode pointers */
320} 321}
322#endif
321 323
322static struct dnode **splitdnarray(struct dnode **dn, int nfiles, int which) 324static struct dnode **splitdnarray(struct dnode **dn, int nfiles, int which)
323{ 325{