diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/tree.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/apps/tree.c b/apps/tree.c index d72a98ffd1..3479aebe88 100644 --- a/apps/tree.c +++ b/apps/tree.c | |||
@@ -254,16 +254,15 @@ static int showdir(char *path, int start) | |||
254 | return filesindir; | 254 | return filesindir; |
255 | } | 255 | } |
256 | 256 | ||
257 | static int numentries=0; | ||
258 | static int dircursor=0; | ||
259 | static int start=0; | ||
260 | static int dirpos[MAX_DIR_LEVELS]; | ||
261 | static int cursorpos[MAX_DIR_LEVELS]; | ||
262 | static int dirlevel=0; | ||
263 | static char currdir[MAX_PATH]; | ||
264 | |||
265 | bool dirbrowse(char *root) | 257 | bool dirbrowse(char *root) |
266 | { | 258 | { |
259 | int numentries=0; | ||
260 | int dircursor=0; | ||
261 | int start=0; | ||
262 | int dirpos[MAX_DIR_LEVELS]; | ||
263 | int cursorpos[MAX_DIR_LEVELS]; | ||
264 | int dirlevel=0; | ||
265 | char currdir[MAX_PATH]; | ||
267 | char buf[MAX_PATH]; | 266 | char buf[MAX_PATH]; |
268 | int i; | 267 | int i; |
269 | int lasti=-1; | 268 | int lasti=-1; |