xref: /linux/scripts/kconfig/internal.h (revision 4b660dbd9ee2059850fd30e0df420ca7a38a1856)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 #ifndef INTERNAL_H
3 #define INTERNAL_H
4 
5 #include "hashtable.h"
6 
7 #define SYMBOL_HASHSIZE		(1U << 14)
8 
9 extern HASHTABLE_DECLARE(sym_hashtable, SYMBOL_HASHSIZE);
10 
11 #define for_all_symbols(sym) \
12 	hash_for_each(sym_hashtable, sym, node)
13 
14 struct menu;
15 
16 extern struct menu *current_menu, *current_entry;
17 
18 extern const char *cur_filename;
19 extern int cur_lineno;
20 
21 #endif /* INTERNAL_H */
22