summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/mconf.c
diff options
context:
space:
mode:
authornir.tzachar@gmail.com <nir.tzachar@gmail.com>2009-11-25 12:28:43 +0200
committerMichal Marek <mmarek@suse.cz>2010-02-02 14:33:55 +0100
commit692d97c380c6dce2c35a04c5dcbce4e831a42fa0 (patch)
treeeff5fc88659da67cce720dd643f50137ef5b906a /scripts/kconfig/mconf.c
parentc64152bfd0106807c8d3ddbe6d0928e14a64f7bb (diff)
downloadlinux-stable-692d97c380c6dce2c35a04c5dcbce4e831a42fa0.tar.gz
linux-stable-692d97c380c6dce2c35a04c5dcbce4e831a42fa0.tar.bz2
linux-stable-692d97c380c6dce2c35a04c5dcbce4e831a42fa0.zip
kconfig: new configuration interface (nconfig)
This patch was inspired by the kernel projects page, where an ncurses replacement for menuconfig was mentioned (by Sam Ravnborg). Building on menuconfig, this patch implements a more modern look interface using ncurses and ncurses' satellite libraries (menu, panel, form). The implementation does not depend on lxdialog, which is currently distributed with the kernel. Signed-off-by: Nir Tzachar <nir.tzachar@gmail.com> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/kconfig/mconf.c')
-rw-r--r--scripts/kconfig/mconf.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/scripts/kconfig/mconf.c b/scripts/kconfig/mconf.c
index ac1e9dacde97..a4a75190457c 100644
--- a/scripts/kconfig/mconf.c
+++ b/scripts/kconfig/mconf.c
@@ -282,19 +282,6 @@ static void show_textbox(const char *title, const char *text, int r, int c);
static void show_helptext(const char *title, const char *text);
static void show_help(struct menu *menu);
-static struct gstr get_relations_str(struct symbol **sym_arr)
-{
- struct symbol *sym;
- struct gstr res = str_new();
- int i;
-
- for (i = 0; sym_arr && (sym = sym_arr[i]); i++)
- get_symbol_str(&res, sym);
- if (!i)
- str_append(&res, _("No matches found.\n"));
- return res;
-}
-
static char filename[PATH_MAX+1];
static void set_config_filename(const char *config_filename)
{