aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/lkc.h
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kconfig/lkc.h')
-rw-r--r--scripts/kconfig/lkc.h16
1 files changed, 5 insertions, 11 deletions
diff --git a/scripts/kconfig/lkc.h b/scripts/kconfig/lkc.h
index f34a0a9b50f..b633bdb9f3d 100644
--- a/scripts/kconfig/lkc.h
+++ b/scripts/kconfig/lkc.h
@@ -21,12 +21,7 @@ static inline char *bind_textdomain_codeset(const char *dn, char *c) { return c;
21extern "C" { 21extern "C" {
22#endif 22#endif
23 23
24#ifdef LKC_DIRECT_LINK
25#define P(name,type,arg) extern type name arg 24#define P(name,type,arg) extern type name arg
26#else
27#include "lkc_defs.h"
28#define P(name,type,arg) extern type (*name ## _p) arg
29#endif
30#include "lkc_proto.h" 25#include "lkc_proto.h"
31#undef P 26#undef P
32 27
@@ -79,9 +74,6 @@ void zconf_nextfile(const char *name);
79int zconf_lineno(void); 74int zconf_lineno(void);
80const char *zconf_curname(void); 75const char *zconf_curname(void);
81 76
82/* conf.c */
83void xfgets(char *str, int size, FILE *in);
84
85/* confdata.c */ 77/* confdata.c */
86const char *conf_get_configname(void); 78const char *conf_get_configname(void);
87const char *conf_get_autoconfig_name(void); 79const char *conf_get_autoconfig_name(void);
@@ -90,6 +82,11 @@ void sym_set_change_count(int count);
90void sym_add_change_count(int count); 82void sym_add_change_count(int count);
91void conf_set_all_new_symbols(enum conf_def_mode mode); 83void conf_set_all_new_symbols(enum conf_def_mode mode);
92 84
85struct conf_printer {
86 void (*print_symbol)(FILE *, struct symbol *, const char *, void *);
87 void (*print_comment)(FILE *, const char *, void *);
88};
89
93/* confdata.c and expr.c */ 90/* confdata.c and expr.c */
94static inline void xfwrite(const void *str, size_t len, size_t count, FILE *out) 91static inline void xfwrite(const void *str, size_t len, size_t count, FILE *out)
95{ 92{
@@ -97,9 +94,6 @@ static inline void xfwrite(const void *str, size_t len, size_t count, FILE *out)
97 fprintf(stderr, "\nError in writing or end of file.\n"); 94 fprintf(stderr, "\nError in writing or end of file.\n");
98} 95}
99 96
100/* kconfig_load.c */
101void kconfig_load(void);
102
103/* menu.c */ 97/* menu.c */
104void _menu_init(void); 98void _menu_init(void);
105void menu_warn(struct menu *menu, const char *fmt, ...); 99void menu_warn(struct menu *menu, const char *fmt, ...);