kconfig: add xstrdup() helper
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 16 Feb 2018 18:38:31 +0000 (03:38 +0900)
committerChristian Lamparter <chunkeey@gmail.com>
Sun, 10 Feb 2019 20:59:28 +0000 (21:59 +0100)
commitbf909cc9605bfd77ab60b9dfead00c92af2852d2
tree948d117c0273328391fbc8e0c775c6eb6d582fc0
parent65512385c67686caa41208d6a1a9b71fb2f57639
kconfig: add xstrdup() helper

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

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