summaryrefslogtreecommitdiffstats
path: root/apps/codecs/lib/codeclib.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-02-06 16:04:01 +0000
committerJens Arnold <amiconn@rockbox.org>2006-02-06 16:04:01 +0000
commite6e8aa95197040d5f9e7125819a0a7f047a83f24 (patch)
tree74665c48ddd0f90067101570fd1bed26f9783a04 /apps/codecs/lib/codeclib.c
parentd036e97d3816ac2bc0eefc57bc033bd5fbbbf0f9 (diff)
downloadrockbox-e6e8aa95197040d5f9e7125819a0a7f047a83f24.tar.gz
rockbox-e6e8aa95197040d5f9e7125819a0a7f047a83f24.zip
Added memmove() to codec API & plugin API, and changed codeclib and plugin libs to use it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8602 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/lib/codeclib.c')
-rw-r--r--apps/codecs/lib/codeclib.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/apps/codecs/lib/codeclib.c b/apps/codecs/lib/codeclib.c
index 1f070e8eac..917970ba8d 100644
--- a/apps/codecs/lib/codeclib.c
+++ b/apps/codecs/lib/codeclib.c
@@ -132,16 +132,9 @@ void* memchr(const void *s, int c, size_t n)
return(local_rb->memchr(s,c,n));
}
-void* memmove(void *s1, const void *s2, size_t n)
+void *memmove(void *dest, const void *src, size_t n)
{
- char* dest=(char*)s1;
- char* src=(char*)s2;
- size_t i;
-
- for (i=0;i<n;i++)
- dest[i]=src[i];
-
- return(dest);
+ return(local_rb->memmove(dest,src,n));
}
void qsort(void *base, size_t nmemb, size_t size,