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 5c3443692f34695896330894cb17f2a386cfcb18..bbca80a0dc24eabc08f4e3270202cd3e89ba194e 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 4063dbc1b9270279c391bc76d178bf76b745f3ca..01b6c27224e279dce9a934fc0a7355244d47567b 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"