diff options
author | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2007-04-04 15:47:51 +0000 |
---|---|---|
committer | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2007-04-04 15:47:51 +0000 |
commit | 830a3a4720331ea3153f01b504222da3dd1f436a (patch) | |
tree | f9aaaafd3f3afb7d4f5474e2235ad6db39495d66 /apps/gui/wps_parser.c | |
parent | ab90d58801e95d01dc286a8919c7d5823d81ec41 (diff) | |
download | rockbox-830a3a4720331ea3153f01b504222da3dd1f436a.tar.gz rockbox-830a3a4720331ea3153f01b504222da3dd1f436a.zip |
* Make some private variables 'static'.
* Fix the pitch tag and allow it to be used on all targets except the Archos Player.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13020 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/wps_parser.c')
-rw-r--r-- | apps/gui/wps_parser.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/apps/gui/wps_parser.c b/apps/gui/wps_parser.c index ef9d446444..07a1df64ac 100644 --- a/apps/gui/wps_parser.c +++ b/apps/gui/wps_parser.c | |||
@@ -40,24 +40,24 @@ | |||
40 | 40 | ||
41 | /* level of current conditional. | 41 | /* level of current conditional. |
42 | -1 means we're not in a conditional. */ | 42 | -1 means we're not in a conditional. */ |
43 | int level = -1; | 43 | static int level = -1; |
44 | 44 | ||
45 | /* index of the last WPS_TOKEN_CONDITIONAL_OPTION | 45 | /* index of the last WPS_TOKEN_CONDITIONAL_OPTION |
46 | or WPS_TOKEN_CONDITIONAL_START in current level */ | 46 | or WPS_TOKEN_CONDITIONAL_START in current level */ |
47 | int lastcond[WPS_MAX_COND_LEVEL]; | 47 | static int lastcond[WPS_MAX_COND_LEVEL]; |
48 | 48 | ||
49 | /* index of the WPS_TOKEN_CONDITIONAL in current level */ | 49 | /* index of the WPS_TOKEN_CONDITIONAL in current level */ |
50 | int condindex[WPS_MAX_COND_LEVEL]; | 50 | static int condindex[WPS_MAX_COND_LEVEL]; |
51 | 51 | ||
52 | /* number of condtional options in current level */ | 52 | /* number of condtional options in current level */ |
53 | int numoptions[WPS_MAX_COND_LEVEL]; | 53 | static int numoptions[WPS_MAX_COND_LEVEL]; |
54 | 54 | ||
55 | #ifdef HAVE_LCD_BITMAP | 55 | #ifdef HAVE_LCD_BITMAP |
56 | /* pointers to the bitmap filenames in the WPS source */ | 56 | /* pointers to the bitmap filenames in the WPS source */ |
57 | const char *bmp_names[MAX_IMAGES]; | 57 | static const char *bmp_names[MAX_IMAGES]; |
58 | const char *pb_bmp_name; | 58 | static const char *pb_bmp_name; |
59 | #if LCD_DEPTH > 1 | 59 | #if LCD_DEPTH > 1 |
60 | const char *backdrop_bmp_name; | 60 | static const char *backdrop_bmp_name; |
61 | #endif | 61 | #endif |
62 | #endif | 62 | #endif |
63 | 63 | ||
@@ -185,7 +185,7 @@ static const struct wps_tag all_tags[] = { | |||
185 | { "Iy", WPS_TOKEN_METADATA_YEAR, WPS_REFRESH_DYNAMIC, NULL }, | 185 | { "Iy", WPS_TOKEN_METADATA_YEAR, WPS_REFRESH_DYNAMIC, NULL }, |
186 | { "IC", WPS_TOKEN_METADATA_COMMENT, WPS_REFRESH_DYNAMIC, NULL }, | 186 | { "IC", WPS_TOKEN_METADATA_COMMENT, WPS_REFRESH_DYNAMIC, NULL }, |
187 | 187 | ||
188 | #if (CONFIG_CODEC == SWCODEC) | 188 | #if (CONFIG_CODEC != MAS3507D) |
189 | { "Sp", WPS_TOKEN_SOUND_PITCH, WPS_REFRESH_DYNAMIC, NULL }, | 189 | { "Sp", WPS_TOKEN_SOUND_PITCH, WPS_REFRESH_DYNAMIC, NULL }, |
190 | #endif | 190 | #endif |
191 | 191 | ||