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.zip rockbox-830a3a4720331ea3153f01b504222da3dd1f436a.tar.gz rockbox-830a3a4720331ea3153f01b504222da3dd1f436a.tar.bz2 rockbox-830a3a4720331ea3153f01b504222da3dd1f436a.tar.xz | |
* 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 ef9d446..07a1df6 100644 --- a/apps/gui/wps_parser.c +++ b/apps/gui/wps_parser.c @@ -40,24 +40,24 @@ /* level of current conditional. -1 means we're not in a conditional. */ -int level = -1; +static int level = -1; /* index of the last WPS_TOKEN_CONDITIONAL_OPTION or WPS_TOKEN_CONDITIONAL_START in current level */ -int lastcond[WPS_MAX_COND_LEVEL]; +static int lastcond[WPS_MAX_COND_LEVEL]; /* index of the WPS_TOKEN_CONDITIONAL in current level */ -int condindex[WPS_MAX_COND_LEVEL]; +static int condindex[WPS_MAX_COND_LEVEL]; /* number of condtional options in current level */ -int numoptions[WPS_MAX_COND_LEVEL]; +static int numoptions[WPS_MAX_COND_LEVEL]; #ifdef HAVE_LCD_BITMAP /* pointers to the bitmap filenames in the WPS source */ -const char *bmp_names[MAX_IMAGES]; -const char *pb_bmp_name; +static const char *bmp_names[MAX_IMAGES]; +static const char *pb_bmp_name; #if LCD_DEPTH > 1 -const char *backdrop_bmp_name; +static const char *backdrop_bmp_name; #endif #endif @@ -185,7 +185,7 @@ static const struct wps_tag all_tags[] = { { "Iy", WPS_TOKEN_METADATA_YEAR, WPS_REFRESH_DYNAMIC, NULL }, { "IC", WPS_TOKEN_METADATA_COMMENT, WPS_REFRESH_DYNAMIC, NULL }, -#if (CONFIG_CODEC == SWCODEC) +#if (CONFIG_CODEC != MAS3507D) { "Sp", WPS_TOKEN_SOUND_PITCH, WPS_REFRESH_DYNAMIC, NULL }, #endif |