Commit aa8427fb authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

kconfig: remove compat_getline()

Commit 1a7a8c6f ("kconfig: allow long lines in config file") added
a self-implemented getline() for better portability.

However, getline() is standardized [1] and already used in other programs
such as scripts/kallsyms.c.

Use getline() provided by libc.

[1]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/getdelim.html



Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 17787468
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment