Make variables static where possible

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20955 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Alexander Levin 2009-05-16 06:59:29 +00:00
parent fd7002ae6c
commit e7ab26535a

View file

@ -92,8 +92,8 @@ static void fix_path_part(char* path, int offset, int count)
}
#if defined(HAVE_JPEG) || defined(PLUGIN)
const char * extensions[] = { "jpeg", "jpg", "bmp" };
int extension_lens[] = { 4, 3, 3 };
static const char * extensions[] = { "jpeg", "jpg", "bmp" };
static int extension_lens[] = { 4, 3, 3 };
/* Try checking for several file extensions, return true if a file is found and
* leaving the path modified to include the matching extension.
*/