File tree Expand file tree Collapse file tree 4 files changed +14
-5
lines changed Expand file tree Collapse file tree 4 files changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -143,8 +143,8 @@ help:
143
143
144
144
# ===========================================================================
145
145
# object files used by all kconfig flavours
146
- common-objs := confdata.o expr.o lexer.lex.o parser.tab.o preprocess .o \
147
- symbol.o util.o
146
+ common-objs := confdata.o expr.o lexer.lex.o menu.o parser.tab .o \
147
+ preprocess.o symbol.o util.o
148
148
149
149
$(obj ) /lexer.lex.o : $(obj ) /parser.tab.h
150
150
HOSTCFLAGS_lexer.lex.o := -I $(srctree ) /$(src )
Original file line number Diff line number Diff line change
1
+ /* SPDX-License-Identifier: GPL-2.0-only */
2
+ #ifndef INTERNAL_H
3
+ #define INTERNAL_H
4
+
5
+ struct menu ;
6
+
7
+ extern struct menu * current_menu , * current_entry ;
8
+
9
+ #endif /* INTERNAL_H */
Original file line number Diff line number Diff line change 9
9
#include <string.h>
10
10
11
11
#include "lkc.h"
12
+ #include "internal.h"
12
13
13
14
static const char nohelp_text [] = "There is no help available for this option." ;
14
15
Original file line number Diff line number Diff line change 12
12
#include < stdbool.h>
13
13
14
14
#include " lkc.h"
15
+ #include " internal.h"
15
16
16
17
#define printd (mask, fmt... ) if (cdebug & (mask)) printf(fmt)
17
18
@@ -28,7 +29,7 @@ static bool zconf_endtoken(const char *tokenname,
28
29
29
30
struct symbol *symbol_hash[SYMBOL_HASHSIZE];
30
31
31
- static struct menu *current_menu, *current_entry;
32
+ struct menu *current_menu, *current_entry;
32
33
33
34
%}
34
35
@@ -713,5 +714,3 @@ void zconfdump(FILE *out)
713
714
}
714
715
}
715
716
}
716
-
717
- #include "menu.c"
You can’t perform that action at this time.
0 commit comments