diff options
Diffstat (limited to 'apps/plugins/lib/xxx2wav.c')
-rw-r--r-- | apps/plugins/lib/xxx2wav.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/apps/plugins/lib/xxx2wav.c b/apps/plugins/lib/xxx2wav.c index cc8c31a11e..052de9ad37 100644 --- a/apps/plugins/lib/xxx2wav.c +++ b/apps/plugins/lib/xxx2wav.c | |||
@@ -53,6 +53,12 @@ void* calloc(size_t nmemb, size_t size) { | |||
53 | return(x); | 53 | return(x); |
54 | } | 54 | } |
55 | 55 | ||
56 | void* alloca(size_t size) { | ||
57 | void* x; | ||
58 | x=malloc(size); | ||
59 | return(x); | ||
60 | } | ||
61 | |||
56 | void free(void* ptr) { | 62 | void free(void* ptr) { |
57 | (void)ptr; | 63 | (void)ptr; |
58 | } | 64 | } |
@@ -76,6 +82,14 @@ int memcmp(const void *s1, const void *s2, size_t n) { | |||
76 | return(local_rb->memcmp(s1,s2,n)); | 82 | return(local_rb->memcmp(s1,s2,n)); |
77 | } | 83 | } |
78 | 84 | ||
85 | void* memchr(const void *s, int c, size_t n) { | ||
86 | /* TO DO: Implement for Tremor */ | ||
87 | (void)s; | ||
88 | (void)c; | ||
89 | (void)n; | ||
90 | return(NULL); | ||
91 | } | ||
92 | |||
79 | void* memmove(const void *s1, const void *s2, size_t n) { | 93 | void* memmove(const void *s1, const void *s2, size_t n) { |
80 | char* dest=(char*)s1; | 94 | char* dest=(char*)s1; |
81 | char* src=(char*)s2; | 95 | char* src=(char*)s2; |