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:
parent
34fa62b300
commit
c3fd67c6c9
9 changed files with 27 additions and 22 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue