diff options
Diffstat (limited to 'scripts/kconfig/expr.h')
-rw-r--r-- | scripts/kconfig/expr.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/kconfig/expr.h b/scripts/kconfig/expr.h index 7c329e179007..999edb60cd53 100644 --- a/scripts/kconfig/expr.h +++ b/scripts/kconfig/expr.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0 */ | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> | 3 | * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> |
3 | * Released under the terms of the GNU GPL v2.0. | ||
4 | */ | 4 | */ |
5 | 5 | ||
6 | #ifndef EXPR_H | 6 | #ifndef EXPR_H |
@@ -62,7 +62,7 @@ struct symbol_value { | |||
62 | }; | 62 | }; |
63 | 63 | ||
64 | enum symbol_type { | 64 | enum symbol_type { |
65 | S_UNKNOWN, S_BOOLEAN, S_TRISTATE, S_INT, S_HEX, S_STRING, S_OTHER | 65 | S_UNKNOWN, S_BOOLEAN, S_TRISTATE, S_INT, S_HEX, S_STRING |
66 | }; | 66 | }; |
67 | 67 | ||
68 | /* enum values are used as index to symbol.def[] */ | 68 | /* enum values are used as index to symbol.def[] */ |
@@ -131,7 +131,7 @@ struct symbol { | |||
131 | struct expr_value implied; | 131 | struct expr_value implied; |
132 | }; | 132 | }; |
133 | 133 | ||
134 | #define for_all_symbols(i, sym) for (i = 0; i < SYMBOL_HASHSIZE; i++) for (sym = symbol_hash[i]; sym; sym = sym->next) if (sym->type != S_OTHER) | 134 | #define for_all_symbols(i, sym) for (i = 0; i < SYMBOL_HASHSIZE; i++) for (sym = symbol_hash[i]; sym; sym = sym->next) |
135 | 135 | ||
136 | #define SYMBOL_CONST 0x0001 /* symbol is const */ | 136 | #define SYMBOL_CONST 0x0001 /* symbol is const */ |
137 | #define SYMBOL_CHECK 0x0008 /* used during dependency checking */ | 137 | #define SYMBOL_CHECK 0x0008 /* used during dependency checking */ |