diff options
| author | Andrew Mahone <andrew.mahone@gmail.com> | 2009-01-24 22:57:57 +0000 |
|---|---|---|
| committer | Andrew Mahone <andrew.mahone@gmail.com> | 2009-01-24 22:57:57 +0000 |
| commit | 499426caf953627696415515c4a95513d5dbc329 (patch) | |
| tree | 01924fa67b9bf133a7c986274ced07d7e66c978d /apps/plugins/mpegplayer/alloc.c | |
| parent | 2490262eee17c3dcff0a39fb4011662dfdfc4478 (diff) | |
| download | rockbox-499426caf953627696415515c4a95513d5dbc329.zip rockbox-499426caf953627696415515c4a95513d5dbc329.tar.gz rockbox-499426caf953627696415515c4a95513d5dbc329.tar.bz2 rockbox-499426caf953627696415515c4a95513d5dbc329.tar.xz | |
remove MEM_FUNCTION_WRAPPERS, and private mem* implementations from plugins, and replace with pluginlib implementations in plugins/lib/gcc-support.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19847 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/mpegplayer/alloc.c')
| -rw-r--r-- | apps/plugins/mpegplayer/alloc.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/apps/plugins/mpegplayer/alloc.c b/apps/plugins/mpegplayer/alloc.c index 6b50b8f..a69b6ac 100644 --- a/apps/plugins/mpegplayer/alloc.c +++ b/apps/plugins/mpegplayer/alloc.c @@ -153,21 +153,6 @@ bool mpeg_alloc_init(unsigned char *buf, size_t mallocsize) return true; } -/* gcc may want to use memcpy before rb is initialised, so here's a trivial - implementation */ - -void *memcpy(void *dest, const void *src, size_t n) -{ - size_t i; - char* d=(char*)dest; - char* s=(char*)src; - - for (i=0;i<n;i++) - d[i]=s[i]; - - return dest; -} - /* allocate non-dedicated buffer space which mpeg2_mem_reset will free */ void * mpeg2_malloc(unsigned size, mpeg2_alloc_t reason) { @@ -247,13 +232,3 @@ void codec_free(void* ptr) (void)ptr; } -void *memmove(void *dest, const void *src, size_t n) -{ - return rb->memmove(dest,src,n); -} - -void *memset(void *s, int c, size_t n) -{ - return rb->memset(s,c,n); -} - |