mirror of
https://github.com/sheumann/hush.git
synced 2025-01-10 16:29:44 +00:00
We also need to declare info if the USERNAMES feature is enabled.
This commit is contained in:
parent
c559d30776
commit
b273d66518
@ -433,7 +433,7 @@ void showdirs(struct dnode **dn, int ndirs)
|
|||||||
{
|
{
|
||||||
int i, nfiles;
|
int i, nfiles;
|
||||||
struct dnode **subdnp;
|
struct dnode **subdnp;
|
||||||
#ifdef BB_FEATURE_LS_SORTFILES
|
#ifdef BB_FEATURE_LS_RECURSIVE
|
||||||
int dndirs;
|
int dndirs;
|
||||||
struct dnode **dnd;
|
struct dnode **dnd;
|
||||||
#endif
|
#endif
|
||||||
@ -529,8 +529,10 @@ int list_single(struct dnode *dn)
|
|||||||
char *filetime;
|
char *filetime;
|
||||||
time_t ttime, age;
|
time_t ttime, age;
|
||||||
#endif
|
#endif
|
||||||
#ifdef BB_FEATURE_LS_FILETYPES
|
#if defined (BB_FEATURE_LS_FILETYPES) || defined (BB_FEATURE_LS_USERNAME)
|
||||||
struct stat info;
|
struct stat info;
|
||||||
|
#endif
|
||||||
|
#ifdef BB_FEATURE_LS_FILETYPES
|
||||||
char append;
|
char append;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
6
ls.c
6
ls.c
@ -433,7 +433,7 @@ void showdirs(struct dnode **dn, int ndirs)
|
|||||||
{
|
{
|
||||||
int i, nfiles;
|
int i, nfiles;
|
||||||
struct dnode **subdnp;
|
struct dnode **subdnp;
|
||||||
#ifdef BB_FEATURE_LS_SORTFILES
|
#ifdef BB_FEATURE_LS_RECURSIVE
|
||||||
int dndirs;
|
int dndirs;
|
||||||
struct dnode **dnd;
|
struct dnode **dnd;
|
||||||
#endif
|
#endif
|
||||||
@ -529,8 +529,10 @@ int list_single(struct dnode *dn)
|
|||||||
char *filetime;
|
char *filetime;
|
||||||
time_t ttime, age;
|
time_t ttime, age;
|
||||||
#endif
|
#endif
|
||||||
#ifdef BB_FEATURE_LS_FILETYPES
|
#if defined (BB_FEATURE_LS_FILETYPES) || defined (BB_FEATURE_LS_USERNAME)
|
||||||
struct stat info;
|
struct stat info;
|
||||||
|
#endif
|
||||||
|
#ifdef BB_FEATURE_LS_FILETYPES
|
||||||
char append;
|
char append;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user