OSDN Git Service

kconfig: do not include both curses.h and ncurses.h for nconfig
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 15 Mar 2018 06:25:27 +0000 (15:25 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 25 Mar 2018 17:04:06 +0000 (02:04 +0900)
commit26561514cc9defed09a043dfaedc900274b76ff2
tree5db7bc47345c5823639cce054119eaebb03f443d
parentf8f69dc0b4e070d4a4d39889a85424913cc922d5
kconfig: do not include both curses.h and ncurses.h for nconfig

nconf.h includes <curses.h> and "ncurses.h", but it does not need to
include both.  Generally, it should fall back to curses.h only when
ncurses.h is not found.  But, looks like it has never happened;
these includes have been here for many years since commit 692d97c380c6
("kconfig: new configuration interface (nconfig)"), and nobody has
complained about hard-coding of ncurses.h .  Let's simply drop the
curses.h inclusion.

I replaced "ncurses.h" with <ncurses.h> since it is not a local file.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/kconfig/nconf.h