symbol.c (0a1340c185734a57fbf4775927966ad4a1347b02) | symbol.c (bfc10001b11e51b59ac901d17c5f05361bd2351d) |
---|---|
1/* 2 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> 3 * Released under the terms of the GNU GPL v2.0. 4 */ 5 6#include <ctype.h> 7#include <stdlib.h> 8#include <string.h> --- 16 unchanged lines hidden (view full) --- 25 .curr = { "n", no }, 26 .flags = SYMBOL_CONST|SYMBOL_VALID, 27}, symbol_empty = { 28 .name = "", 29 .curr = { "", no }, 30 .flags = SYMBOL_VALID, 31}; 32 | 1/* 2 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> 3 * Released under the terms of the GNU GPL v2.0. 4 */ 5 6#include <ctype.h> 7#include <stdlib.h> 8#include <string.h> --- 16 unchanged lines hidden (view full) --- 25 .curr = { "n", no }, 26 .flags = SYMBOL_CONST|SYMBOL_VALID, 27}, symbol_empty = { 28 .name = "", 29 .curr = { "", no }, 30 .flags = SYMBOL_VALID, 31}; 32 |
33int sym_change_count; | |
34struct symbol *sym_defconfig_list; 35struct symbol *modules_sym; 36tristate modules_val; 37 38void sym_add_default(struct symbol *sym, const char *def) 39{ 40 struct property *prop = prop_alloc(P_DEFAULT, sym); 41 --- 332 unchanged lines hidden (view full) --- 374 375void sym_clear_all_valid(void) 376{ 377 struct symbol *sym; 378 int i; 379 380 for_all_symbols(i, sym) 381 sym->flags &= ~SYMBOL_VALID; | 33struct symbol *sym_defconfig_list; 34struct symbol *modules_sym; 35tristate modules_val; 36 37void sym_add_default(struct symbol *sym, const char *def) 38{ 39 struct property *prop = prop_alloc(P_DEFAULT, sym); 40 --- 332 unchanged lines hidden (view full) --- 373 374void sym_clear_all_valid(void) 375{ 376 struct symbol *sym; 377 int i; 378 379 for_all_symbols(i, sym) 380 sym->flags &= ~SYMBOL_VALID; |
382 sym_change_count++; | 381 sym_add_change_count(1); |
383 if (modules_sym) 384 sym_calc_value(modules_sym); 385} 386 387void sym_set_changed(struct symbol *sym) 388{ 389 struct property *prop; 390 --- 492 unchanged lines hidden --- | 382 if (modules_sym) 383 sym_calc_value(modules_sym); 384} 385 386void sym_set_changed(struct symbol *sym) 387{ 388 struct property *prop; 389 --- 492 unchanged lines hidden --- |