summaryrefslogtreecommitdiff
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 bd79cc9..1019147 100644
--- a/ls.c
+++ b/ls.c
@@ -303,6 +303,7 @@ static struct dnode **dnalloc(int num)
return(p);
}
+#ifdef BB_FEATURE_LS_RECURSIVE
static void dfree(struct dnode **dnp)
{
struct dnode *cur, *next;
@@ -318,6 +319,7 @@ static void dfree(struct dnode **dnp)
}
free(dnp); /* free the array holding the dnode pointers */
}
+#endif
static struct dnode **splitdnarray(struct dnode **dn, int nfiles, int which)
{