mescc: Mes C Library: Prepare for M2-Planet: memcpy.

* lib/string/memcpy.c: Rewrite C-constructs not supported by M2-Planet.
This commit is contained in:
Jan Nieuwenhuizen 2019-10-20 19:29:36 +02:00
parent 5ab4840e03
commit 214fd948da
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273
1 changed files with 2 additions and 0 deletions

View File

@ -26,7 +26,9 @@ memcpy (void *dest, void const *src, size_t n)
{
char *p = dest;
char const *q = src;
while (n--)
*p++ = *q++;
return dest;
}