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
This commit is contained in:
Jens Arnold 2005-01-22 22:06:29 +00:00
parent b3fd63747d
commit 756e7404d8

View file

@ -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;
}