aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/conf.c
diff options
context:
space:
mode:
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 006ad817cd5f..08c05bcc82c9 100644
--- a/scripts/kconfig/conf.c
+++ b/scripts/kconfig/conf.c
@@ -14,7 +14,6 @@
14#include <sys/stat.h> 14#include <sys/stat.h>
15#include <sys/time.h> 15#include <sys/time.h>
16 16
17#define LKC_DIRECT_LINK
18#include "lkc.h" 17#include "lkc.h"
19 18
20static void conf(struct menu *menu); 19static void conf(struct menu *menu);
@@ -106,6 +105,7 @@ static int conf_askvalue(struct symbol *sym, const char *def)
106 return 0; 105 return 0;
107 } 106 }
108 check_stdin(); 107 check_stdin();
108 /* fall through */
109 case oldaskconfig: 109 case oldaskconfig:
110 fflush(stdout); 110 fflush(stdout);
111 xfgets(line, 128, stdin); 111 xfgets(line, 128, stdin);
@@ -150,6 +150,7 @@ static int conf_string(struct menu *menu)
150 def = NULL; 150 def = NULL;
151 break; 151 break;
152 } 152 }
153 /* fall through */
153 default: 154 default:
154 line[strlen(line)-1] = 0; 155 line[strlen(line)-1] = 0;
155 def = line; 156 def = line;
@@ -304,6 +305,7 @@ static int conf_choice(struct menu *menu)
304 break; 305 break;
305 } 306 }
306 check_stdin(); 307 check_stdin();
308 /* fall through */
307 case oldaskconfig: 309 case oldaskconfig:
308 fflush(stdout); 310 fflush(stdout);
309 xfgets(line, 128, stdin); 311 xfgets(line, 128, stdin);
@@ -369,6 +371,7 @@ static void conf(struct menu *menu)
369 check_conf(menu); 371 check_conf(menu);
370 return; 372 return;
371 } 373 }
374 /* fall through */
372 case P_COMMENT: 375 case P_COMMENT:
373 prompt = menu_get_prompt(menu); 376 prompt = menu_get_prompt(menu);
374 if (prompt) 377 if (prompt)