malloc: adjust memcpy() and memset() definitions.
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 10 Feb 2021 17:59:21 +0000 (18:59 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 24 Feb 2021 21:51:48 +0000 (16:51 -0500)
commitc6bf4f38988996f12c69a1cb5470bf9bea7c88ce
tree5eeb4ed36a269f4a97a6c668635283a1553eee6b
parentdb5f1a50eff8cadd463cebd4448e00a9a2934f40
malloc: adjust memcpy() and memset() definitions.

Compiling the sandbox fails on armv7 due to conflicting definitions of
memcpy() and memset() in include/malloc.h and include/linux/string.h.

Use linux/string.h here.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/malloc.h