Skip to content

Commit 4066162

Browse files
committed
kconfig: move JUMP_NB to mconf.c
This macro is only used in mconf.c. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
1 parent 98f8475 commit 4066162

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/kconfig/expr.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,8 +281,6 @@ struct jump_key {
281281
int index;
282282
};
283283

284-
#define JUMP_NB 9
285-
286284
extern struct file *file_list;
287285
extern struct file *current_file;
288286
struct file *lookup_file(const char *name);

scripts/kconfig/mconf.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
#include "lkc.h"
2323
#include "lxdialog/dialog.h"
2424

25+
#define JUMP_NB 9
26+
2527
static const char mconf_readme[] =
2628
"Overview\n"
2729
"--------\n"

0 commit comments

Comments
 (0)