diff options
author | Steve Bavin <pondlife@pondlife.me> | 2010-05-07 16:35:37 +0000 |
---|---|---|
committer | Steve Bavin <pondlife@pondlife.me> | 2010-05-07 16:35:37 +0000 |
commit | b08222caec009f504ae4ab0b9c0355597b612377 (patch) | |
tree | 80b2d2e0f0082d1bbf66ea8337fe146a2765b8ef /apps/mpeg.c | |
parent | feecb7d4beed9dc58a82201acd692631cdf6d0b3 (diff) | |
download | rockbox-b08222caec009f504ae4ab0b9c0355597b612377.tar.gz rockbox-b08222caec009f504ae4ab0b9c0355597b612377.zip |
Minor const police raid.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25879 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/mpeg.c')
-rw-r--r-- | apps/mpeg.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/mpeg.c b/apps/mpeg.c index 7917015a9b..1ff46b049e 100644 --- a/apps/mpeg.c +++ b/apps/mpeg.c @@ -87,7 +87,7 @@ extern enum /* from mp3_playback.c */ } mpeg_mode; #endif /* CONFIG_CODEC == MAS3587F */ -extern char* playlist_peek(int steps); +extern const char* playlist_peek(int steps); extern bool playlist_check(int steps); extern int playlist_next(int steps); extern int playlist_amount(void); @@ -929,7 +929,7 @@ static int new_file(int steps) } do { - char *trackname; + const char *trackname; trackname = playlist_peek( start + steps ); if ( !trackname ) @@ -2741,7 +2741,7 @@ void audio_next(void) queue_remove_from_head(&mpeg_queue, MPEG_NEED_DATA); queue_post(&mpeg_queue, MPEG_NEXT, 0); #else /* SIMULATOR */ - char* file; + const char* file; int steps = 1; int index; @@ -2770,7 +2770,7 @@ void audio_prev(void) queue_remove_from_head(&mpeg_queue, MPEG_NEED_DATA); queue_post(&mpeg_queue, MPEG_PREV, 0); #else /* SIMULATOR */ - char* file; + const char* file; int steps = -1; int index; |