summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/xxx2wav.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lib/xxx2wav.c')
-rw-r--r--apps/plugins/lib/xxx2wav.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/apps/plugins/lib/xxx2wav.c b/apps/plugins/lib/xxx2wav.c
index 3f8853ffbf..3f9fab062b 100644
--- a/apps/plugins/lib/xxx2wav.c
+++ b/apps/plugins/lib/xxx2wav.c
@@ -33,7 +33,7 @@ unsigned char* mp3buf; // The actual MP3 buffer from Rockbox
33unsigned char* mallocbuf; // 512K from the start of MP3 buffer 33unsigned char* mallocbuf; // 512K from the start of MP3 buffer
34unsigned char* filebuf; // The rest of the MP3 buffer 34unsigned char* filebuf; // The rest of the MP3 buffer
35 35
36void* malloc(size_t size) { 36void* codec_malloc(size_t size) {
37 void* x; 37 void* x;
38 char s[32]; 38 char s[32];
39 39
@@ -46,27 +46,27 @@ void* malloc(size_t size) {
46 return(x); 46 return(x);
47} 47}
48 48
49void* calloc(size_t nmemb, size_t size) { 49void* codec_calloc(size_t nmemb, size_t size) {
50 void* x; 50 void* x;
51 x=malloc(nmemb*size); 51 x = codec_malloc(nmemb*size);
52 local_rb->memset(x,0,nmemb*size); 52 local_rb->memset(x,0,nmemb*size);
53 return(x); 53 return(x);
54} 54}
55 55
56void* alloca(size_t size) { 56void* codec_alloca(size_t size) {
57 void* x; 57 void* x;
58 x=malloc(size); 58 x = codec_malloc(size);
59 return(x); 59 return(x);
60} 60}
61 61
62void free(void* ptr) { 62void codec_free(void* ptr) {
63 (void)ptr; 63 (void)ptr;
64} 64}
65 65
66void* realloc(void* ptr, size_t size) { 66void* codec_realloc(void* ptr, size_t size) {
67 void* x; 67 void* x;
68 (void)ptr; 68 (void)ptr;
69 x=malloc(size); 69 x = codec_malloc(size);
70 return(x); 70 return(x);
71} 71}
72 72