diff options
Diffstat (limited to 'ls.c')
-rw-r--r-- | ls.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 | ||
306 | static void dfree(struct dnode **dnp) | 307 | static 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 | ||
322 | static struct dnode **splitdnarray(struct dnode **dn, int nfiles, int which) | 324 | static struct dnode **splitdnarray(struct dnode **dn, int nfiles, int which) |
323 | { | 325 | { |