diff options
Diffstat (limited to 'scripts/kconfig/expr.h')
-rw-r--r-- | scripts/kconfig/expr.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/kconfig/expr.h b/scripts/kconfig/expr.h index 52f4246bd34..bd2e0989555 100644 --- a/scripts/kconfig/expr.h +++ b/scripts/kconfig/expr.h | |||
@@ -12,6 +12,7 @@ extern "C" { | |||
12 | 12 | ||
13 | #include <assert.h> | 13 | #include <assert.h> |
14 | #include <stdio.h> | 14 | #include <stdio.h> |
15 | #include <sys/queue.h> | ||
15 | #ifndef __cplusplus | 16 | #ifndef __cplusplus |
16 | #include <stdbool.h> | 17 | #include <stdbool.h> |
17 | #endif | 18 | #endif |
@@ -173,6 +174,14 @@ struct menu { | |||
173 | #define MENU_CHANGED 0x0001 | 174 | #define MENU_CHANGED 0x0001 |
174 | #define MENU_ROOT 0x0002 | 175 | #define MENU_ROOT 0x0002 |
175 | 176 | ||
177 | struct jump_key { | ||
178 | CIRCLEQ_ENTRY(jump_key) entries; | ||
179 | size_t offset; | ||
180 | struct menu *target; | ||
181 | int index; | ||
182 | }; | ||
183 | CIRCLEQ_HEAD(jk_head, jump_key); | ||
184 | |||
176 | #define JUMP_NB 9 | 185 | #define JUMP_NB 9 |
177 | 186 | ||
178 | extern struct file *file_list; | 187 | extern struct file *file_list; |