Commit 0a1eab12 authored by Thomas Meyer's avatar Thomas Meyer Committed by Masahiro Yamada
Browse files

kconfig: use memcmp instead of deprecated bcmp



bcmp() was removed in POSIX.1-2008.

This commit replaces bcmp() with memcmp(). This allows Kconfig to link
with C libraries that do not provide bcmp(), such as Android bionic
libc.

Signed-off-by: default avatarThomas Meyer <thomas@m3y3r.de>
Reviewed-by: default avatarMiguel Ojeda <ojeda@kernel.org>
Reported-by: default avatarAbhigyan Ghosh <zscript.team.zs@gmail.com>
[masahiro: update commit description]
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent e04c78d8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment