From 38ed90128439bd7cd20038a69032f1f3eddaca04 Mon Sep 17 00:00:00 2001 From: Steve Bavin Date: Tue, 25 Mar 2008 19:26:00 +0000 Subject: A little more consting/staticing, no functional change. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16801 a1c6a512-1295-4272-9138-f99709370657 --- apps/playback.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/playback.c b/apps/playback.c index 9005b3485c..92df2a457e 100644 --- a/apps/playback.c +++ b/apps/playback.c @@ -163,7 +163,7 @@ enum { #define CODEC_IRAM_SIZE ((size_t)0xc000) #endif -bool audio_is_initialized = false; +static bool audio_is_initialized = false; static bool audio_thread_ready NOCACHEBSS_ATTR = false; /* Variables are commented with the threads that use them: * @@ -1669,7 +1669,7 @@ static void audio_set_elapsed(struct mp3entry* id3) everything required was loaded correctly, false if not. */ static bool audio_load_track(int offset, bool start_play) { - char *trackname; + const char *trackname; char msgbuf[80]; int fd = -1; int file_offset = 0; @@ -2386,7 +2386,7 @@ static void audio_reset_buffer(void) the location of others. */ { size_t pcmbufsize; - unsigned char * pcmbuf = pcmbuf_get_meminfo(&pcmbufsize); + const unsigned char *pcmbuf = pcmbuf_get_meminfo(&pcmbufsize); logf("mabuf: %08X", (unsigned)malloc_buf); logf("mabufe: %08X", (unsigned)(malloc_buf + MALLOC_BUFSIZE)); logf("fbuf: %08X", (unsigned)filebuf); -- cgit v1.2.3