projects
/
carl9170fw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kconfig: Clarify menu and 'if' dependency propagation
[carl9170fw.git]
/
config
/
confdata.c
diff --git
a/config/confdata.c
b/config/confdata.c
index e606f06fc9e557dc0401b44660bd1dae08b313c3..2e030b4c736a2876f9a8499a5bd5f0b3939487e4 100644
(file)
--- a/
config/confdata.c
+++ b/
config/confdata.c
@@
-28,7
+28,7
@@
static void conf_message(const char *fmt, ...)
__attribute__ ((format (printf, 1, 2)));
static const char *conf_filename;
__attribute__ ((format (printf, 1, 2)));
static const char *conf_filename;
-static int conf_lineno, conf_warnings
, conf_unsaved
;
+static int conf_lineno, conf_warnings;
const char conf_defname[] = "include/generated/defconfig";
const char conf_defname[] = "include/generated/defconfig";
@@
-290,7
+290,6
@@
load:
conf_filename = name;
conf_lineno = 0;
conf_warnings = 0;
conf_filename = name;
conf_lineno = 0;
conf_warnings = 0;
- conf_unsaved = 0;
def_flags = SYMBOL_DEF << def;
for_all_symbols(i, sym) {
def_flags = SYMBOL_DEF << def;
for_all_symbols(i, sym) {
@@
-409,6
+408,7
@@
setsym:
int conf_read(const char *name)
{
struct symbol *sym;
int conf_read(const char *name)
{
struct symbol *sym;
+ int conf_unsaved = 0;
int i;
sym_set_change_count(0);
int i;
sym_set_change_count(0);
@@
-1186,7
+1186,7
@@
void set_all_choice_values(struct symbol *csym)
bool conf_set_all_new_symbols(enum conf_def_mode mode)
{
struct symbol *sym, *csym;
bool conf_set_all_new_symbols(enum conf_def_mode mode)
{
struct symbol *sym, *csym;
- int i, cnt, pby, pty, ptm; /* pby: probability of bool
ean
= y
+ int i, cnt, pby, pty, ptm; /* pby: probability of bool
= y
* pty: probability of tristate = y
* ptm: probability of tristate = m
*/
* pty: probability of tristate = y
* ptm: probability of tristate = m
*/