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)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 10 Feb 2018 02:31:49 +0000 (11:31 +0900)
commit523ca58b7db2e30e3c185a7927dd80a30c1bc743
tree59c135f8bde7d4ec24f1270c1d8615b8b142f296
parentd717f24d8c68081caae2374cf5ea6c4e62c490fc
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>
scripts/kconfig/lkc_proto.h
scripts/kconfig/symbol.c
scripts/kconfig/util.c