summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 22cda58897..03de011255 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -56,8 +56,8 @@
56 56
57#define NAME_BUFFER_SIZE (AVERAGE_FILENAME_LENGTH * MAX_FILES_IN_DIR) 57#define NAME_BUFFER_SIZE (AVERAGE_FILENAME_LENGTH * MAX_FILES_IN_DIR)
58 58
59char name_buffer[NAME_BUFFER_SIZE]; 59static char name_buffer[NAME_BUFFER_SIZE];
60int name_buffer_length; 60static int name_buffer_length;
61struct entry { 61struct entry {
62 short attr; /* FAT attributes + file type flags */ 62 short attr; /* FAT attributes + file type flags */
63 char *name; 63 char *name;