mirror of https://github.com/thesofproject/sof.git
zephyr: lib: memcpy should use zephyr version.
Also applies to host library. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
This commit is contained in:
parent
d2076ce45c
commit
b25922023e
|
@ -43,6 +43,7 @@ int memset_s(void *dest, size_t dest_size, int data, size_t count)
|
|||
return arch_memset_s(dest, dest_size, data, count);
|
||||
}
|
||||
|
||||
#if !CONFIG_LIBRARY && !__ZEPHYR__
|
||||
int memcmp(const void *p, const void *q, size_t count)
|
||||
{
|
||||
uint8_t *s1 = (uint8_t *)p;
|
||||
|
@ -57,6 +58,7 @@ int memcmp(const void *p, const void *q, size_t count)
|
|||
}
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
/* generic strlen - TODO: can be optimsed for ARCH ? */
|
||||
int rstrlen(const char *s)
|
||||
|
|
Loading…
Reference in New Issue