kconfig: move JUMP_NB to mconf.c
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 13 Mar 2021 19:48:31 +0000 (04:48 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 14 Apr 2021 06:22:48 +0000 (15:22 +0900)
This macro is only used in mconf.c.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/expr.h
scripts/kconfig/mconf.c

index 5c34436..bbca80a 100644 (file)
@@ -281,8 +281,6 @@ struct jump_key {
        int index;
 };
 
-#define JUMP_NB                        9
-
 extern struct file *file_list;
 extern struct file *current_file;
 struct file *lookup_file(const char *name);
index 4063dbc..01b6c27 100644 (file)
@@ -22,6 +22,8 @@
 #include "lkc.h"
 #include "lxdialog/dialog.h"
 
+#define JUMP_NB                        9
+
 static const char mconf_readme[] =
 "Overview\n"
 "--------\n"