From b08222caec009f504ae4ab0b9c0355597b612377 Mon Sep 17 00:00:00 2001 From: Steve Bavin Date: Fri, 7 May 2010 16:35:37 +0000 Subject: Minor const police raid. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25879 a1c6a512-1295-4272-9138-f99709370657 --- apps/mpeg.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/mpeg.c') 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; -- cgit v1.2.3