kconfig: remove const qualifier from sym_expand_string_value()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 8 Feb 2018 16:19:08 +0000 (01:19 +0900)
committerChristian Lamparter <chunkeey@gmail.com>
Sun, 10 Feb 2019 20:59:07 +0000 (21:59 +0100)
commit65512385c67686caa41208d6a1a9b71fb2f57639
tree544ba8c81b9ca09bf5d970db1403be472a636002
parentd44655a5f52f765a5f5aa86cebed06abbe64a51b
kconfig: remove const qualifier from sym_expand_string_value()

This function returns realloc'ed memory, so the returned pointer
must be passed to free() when done.  So, 'const' qualifier is odd.
It is allowed to modify the expanded string.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
config/lkc_proto.h
config/symbol.c
config/util.c