summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-01-22 22:06:29 +0000
committerJens Arnold <amiconn@rockbox.org>2005-01-22 22:06:29 +0000
commit756e7404d8b2605c1fd1f5ef3ae8c6c8dc856c37 (patch)
tree83da21f764b0be31d3568764cad538368a5035af
parentb3fd63747da4f091d140794c557d0fc0073294ed (diff)
downloadrockbox-756e7404d8b2605c1fd1f5ef3ae8c6c8dc856c37.tar.gz
rockbox-756e7404d8b2605c1fd1f5ef3ae8c6c8dc856c37.tar.bz2
rockbox-756e7404d8b2605c1fd1f5ef3ae8c6c8dc856c37.zip
Forgot to commit removal of string.c when reviving memcpy.c and memset.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5633 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/common/string.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/firmware/common/string.c b/firmware/common/string.c
deleted file mode 100644
index 373aa92273..0000000000
--- a/firmware/common/string.c
+++ /dev/null
@@ -1,19 +0,0 @@
-/* For archs that lack assembly optimized versions of those */
-
-#include "string.h"
-
-_PTR _EXFUN(memset,(_PTR, int, size_t));
-
-_PTR memset(_PTR data, int val, size_t count)
-{
- for (int i=0; i < count; i++)
- ((char*)data)[i] = val;
- return data;
-}
-
-_PTR memcpy(_PTR dst, const _PTR src, size_t count)
-{
- for (int i=0; i < count; i++)
- ((char*)dst)[i] = ((char*)src)[i];
- return dst;
-}