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/lib/gcc-support.c | |
parent | 2490262eee17c3dcff0a39fb4011662dfdfc4478 (diff) | |
download | rockbox-499426caf953627696415515c4a95513d5dbc329.tar.gz rockbox-499426caf953627696415515c4a95513d5dbc329.zip |
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/lib/gcc-support.c')
-rw-r--r-- | apps/plugins/lib/gcc-support.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/apps/plugins/lib/gcc-support.c b/apps/plugins/lib/gcc-support.c index 91744d7fbc..4ea9cfd13a 100644 --- a/apps/plugins/lib/gcc-support.c +++ b/apps/plugins/lib/gcc-support.c | |||
@@ -28,3 +28,23 @@ void __attribute__((naked)) __div0(void) | |||
28 | asm volatile("bx %0" : : "r"(rb->__div0)); | 28 | asm volatile("bx %0" : : "r"(rb->__div0)); |
29 | } | 29 | } |
30 | #endif | 30 | #endif |
31 | |||
32 | void *memcpy(void *dest, const void *src, size_t n) | ||
33 | { | ||
34 | return rb->memcpy(dest, src, n); | ||
35 | } | ||
36 | |||
37 | void *memset(void *dest, int c, size_t n) | ||
38 | { | ||
39 | return rb->memset(dest, c, n); | ||
40 | } | ||
41 | |||
42 | void *memmove(void *dest, const void *src, size_t n) | ||
43 | { | ||
44 | return rb->memmove(dest, src, n); | ||
45 | } | ||
46 | |||
47 | int memcmp(const void *s1, const void *s2, size_t n) | ||
48 | { | ||
49 | return rb->memcmp(s1, s2, n); | ||
50 | } | ||