kconfig: add xrealloc() helper
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 8 Feb 2018 16:19:07 +0000 (01:19 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 10 Feb 2018 02:26:04 +0000 (11:26 +0900)
commitd717f24d8c68081caae2374cf5ea6c4e62c490fc
tree325008cf6d2fea2dfa15e4d49ae4d4d79fb1ff2b
parent9e3e10c725360b9d07018cfcd5b7b6b7d325fae5
kconfig: add xrealloc() helper

We already have xmalloc(), xcalloc().  Add xrealloc() as well
to save tedious error handling.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/kconfig/confdata.c
scripts/kconfig/lkc.h
scripts/kconfig/nconf.gui.c
scripts/kconfig/symbol.c
scripts/kconfig/util.c
scripts/kconfig/zconf.l