From 897fd9282781d2f90dc4193cca908f1b17e00cb0 Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Sun, 8 May 2011 10:34:05 +0000 Subject: codeclib: Declare several variables static and remove unused variables. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29831 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/lib/codeclib.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'apps/codecs/lib/codeclib.c') diff --git a/apps/codecs/lib/codeclib.c b/apps/codecs/lib/codeclib.c index 3a46f6d06b..e672a78cc2 100644 --- a/apps/codecs/lib/codeclib.c +++ b/apps/codecs/lib/codeclib.c @@ -27,11 +27,11 @@ #include "codeclib.h" #include "metadata.h" -size_t mem_ptr; -size_t bufsize; -unsigned char* mp3buf; // The actual MP3 buffer from Rockbox -unsigned char* mallocbuf; // 512K from the start of MP3 buffer -unsigned char* filebuf; // The rest of the MP3 buffer +/* The following variables are used by codec_malloc() to make use of free RAM + * within the statically allocated codec buffer. */ +static size_t mem_ptr; +static size_t bufsize; +static unsigned char* mallocbuf; int codec_init(void) { -- cgit v1.2.3