summaryrefslogtreecommitdiff
path: root/scripts/kconfig/internal.h
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2024-02-03 00:58:08 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2024-02-19 18:20:40 +0900
commit1d7c4f10baacbc658918f7ddec31e1d1962df6fc (patch)
tree6905e2bbb70bec0a7fb6e980a11aeba69b0c0b68 /scripts/kconfig/internal.h
parent52907c07c49b7b820924773d596c5eec5eaf7469 (diff)
kconfig: remove zconf_curname() and zconf_lineno()
Now zconf_curname() and zconf_lineno() are so simple that they just return cur_filename, cur_lineno, respectively. Remove these functions, and then use cur_filename and cur_lineno directly. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/kconfig/internal.h')
-rw-r--r--scripts/kconfig/internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/kconfig/internal.h b/scripts/kconfig/internal.h
index 2f7298c21b64..788401cd5d6f 100644
--- a/scripts/kconfig/internal.h
+++ b/scripts/kconfig/internal.h
@@ -6,4 +6,7 @@ struct menu;
extern struct menu *current_menu, *current_entry;
+extern const char *cur_filename;
+extern int cur_lineno;
+
#endif /* INTERNAL_H */