1
0
Fork 0
forked from len0rd/rockbox

Killed a dozen global variables

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3015 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2002-12-18 14:57:45 +00:00
parent 34fa62b300
commit c3fd67c6c9
9 changed files with 27 additions and 22 deletions

View file

@ -56,8 +56,8 @@
#define NAME_BUFFER_SIZE (AVERAGE_FILENAME_LENGTH * MAX_FILES_IN_DIR)
char name_buffer[NAME_BUFFER_SIZE];
int name_buffer_length;
static char name_buffer[NAME_BUFFER_SIZE];
static int name_buffer_length;
struct entry {
short attr; /* FAT attributes + file type flags */
char *name;