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:
parent
fd7002ae6c
commit
e7ab26535a
1 changed files with 2 additions and 2 deletions
|
@ -92,8 +92,8 @@ static void fix_path_part(char* path, int offset, int count)
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(HAVE_JPEG) || defined(PLUGIN)
|
#if defined(HAVE_JPEG) || defined(PLUGIN)
|
||||||
const char * extensions[] = { "jpeg", "jpg", "bmp" };
|
static const char * extensions[] = { "jpeg", "jpg", "bmp" };
|
||||||
int extension_lens[] = { 4, 3, 3 };
|
static int extension_lens[] = { 4, 3, 3 };
|
||||||
/* Try checking for several file extensions, return true if a file is found and
|
/* Try checking for several file extensions, return true if a file is found and
|
||||||
* leaving the path modified to include the matching extension.
|
* leaving the path modified to include the matching extension.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue