forked from len0rd/rockbox
codeclib: Declare several variables static and remove unused variables.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29831 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
75e3fb7edb
commit
897fd92827
2 changed files with 5 additions and 10 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue