aboutsummaryrefslogtreecommitdiff
path: root/ls.c
diff options
context:
space:
mode:
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{