diff options
Diffstat (limited to 'ls.c')
-rw-r--r-- | ls.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -433,7 +433,7 @@ void showdirs(struct dnode **dn, int ndirs) | |||
433 | { | 433 | { |
434 | int i, nfiles; | 434 | int i, nfiles; |
435 | struct dnode **subdnp; | 435 | struct dnode **subdnp; |
436 | #ifdef BB_FEATURE_LS_SORTFILES | 436 | #ifdef BB_FEATURE_LS_RECURSIVE |
437 | int dndirs; | 437 | int dndirs; |
438 | struct dnode **dnd; | 438 | struct dnode **dnd; |
439 | #endif | 439 | #endif |
@@ -529,8 +529,10 @@ int list_single(struct dnode *dn) | |||
529 | char *filetime; | 529 | char *filetime; |
530 | time_t ttime, age; | 530 | time_t ttime, age; |
531 | #endif | 531 | #endif |
532 | #ifdef BB_FEATURE_LS_FILETYPES | 532 | #if defined (BB_FEATURE_LS_FILETYPES) || defined (BB_FEATURE_LS_USERNAME) |
533 | struct stat info; | 533 | struct stat info; |
534 | #endif | ||
535 | #ifdef BB_FEATURE_LS_FILETYPES | ||
534 | char append; | 536 | char append; |
535 | #endif | 537 | #endif |
536 | 538 | ||