aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/conf.c
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2011-06-08 17:40:20 +0200
committerMichal Marek <mmarek@suse.cz>2011-06-08 18:03:57 +0200
commit36fee53510f91d8ac5eb5dcba0e431a21ebdd5cd (patch)
tree02cf4abcfc033d75f11b00055280e14eeb86e7e0 /scripts/kconfig/conf.c
parenta61944c251c3e68c4bbf6eb96ff61c7b286351c5 (diff)
parent1ea3ad4e93222faf1d138ceb10291376d2da7cc6 (diff)
downloadkernel_samsung_smdk4412-36fee53510f91d8ac5eb5dcba0e431a21ebdd5cd.zip
kernel_samsung_smdk4412-36fee53510f91d8ac5eb5dcba0e431a21ebdd5cd.tar.gz
kernel_samsung_smdk4412-36fee53510f91d8ac5eb5dcba0e431a21ebdd5cd.tar.bz2
Merge branch 'kconfig-trivial' of git://github.com/lacombar/linux-2.6 into kbuild/kconfig
Diffstat (limited to 'scripts/kconfig/conf.c')
-rw-r--r--scripts/kconfig/conf.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c
index 006ad81..08c05bc 100644
--- a/scripts/kconfig/conf.c
+++ b/scripts/kconfig/conf.c
@@ -14,7 +14,6 @@
#include <sys/stat.h>
#include <sys/time.h>
-#define LKC_DIRECT_LINK
#include "lkc.h"
static void conf(struct menu *menu);
@@ -106,6 +105,7 @@ static int conf_askvalue(struct symbol *sym, const char *def)
return 0;
}
check_stdin();
+ /* fall through */
case oldaskconfig:
fflush(stdout);
xfgets(line, 128, stdin);
@@ -150,6 +150,7 @@ static int conf_string(struct menu *menu)
def = NULL;
break;
}
+ /* fall through */
default:
line[strlen(line)-1] = 0;
def = line;
@@ -304,6 +305,7 @@ static int conf_choice(struct menu *menu)
break;
}
check_stdin();
+ /* fall through */
case oldaskconfig:
fflush(stdout);
xfgets(line, 128, stdin);
@@ -369,6 +371,7 @@ static void conf(struct menu *menu)
check_conf(menu);
return;
}
+ /* fall through */
case P_COMMENT:
prompt = menu_get_prompt(menu);
if (prompt)