We also need to declare info if the USERNAMES feature is enabled.

This commit is contained in:
Matt Kraai 2000-10-28 01:21:22 +00:00
parent c559d30776
commit b273d66518
2 changed files with 8 additions and 4 deletions

View File

@ -433,7 +433,7 @@ void showdirs(struct dnode **dn, int ndirs)
{
int i, nfiles;
struct dnode **subdnp;
#ifdef BB_FEATURE_LS_SORTFILES
#ifdef BB_FEATURE_LS_RECURSIVE
int dndirs;
struct dnode **dnd;
#endif
@ -529,8 +529,10 @@ int list_single(struct dnode *dn)
char *filetime;
time_t ttime, age;
#endif
#ifdef BB_FEATURE_LS_FILETYPES
#if defined (BB_FEATURE_LS_FILETYPES) || defined (BB_FEATURE_LS_USERNAME)
struct stat info;
#endif
#ifdef BB_FEATURE_LS_FILETYPES
char append;
#endif

6
ls.c
View File

@ -433,7 +433,7 @@ void showdirs(struct dnode **dn, int ndirs)
{
int i, nfiles;
struct dnode **subdnp;
#ifdef BB_FEATURE_LS_SORTFILES
#ifdef BB_FEATURE_LS_RECURSIVE
int dndirs;
struct dnode **dnd;
#endif
@ -529,8 +529,10 @@ int list_single(struct dnode *dn)
char *filetime;
time_t ttime, age;
#endif
#ifdef BB_FEATURE_LS_FILETYPES
#if defined (BB_FEATURE_LS_FILETYPES) || defined (BB_FEATURE_LS_USERNAME)
struct stat info;
#endif
#ifdef BB_FEATURE_LS_FILETYPES
char append;
#endif