diff options
Diffstat (limited to 'scripts/kconfig/lkc.h')
-rw-r--r-- | scripts/kconfig/lkc.h | 16 |
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; | |||
21 | extern "C" { | 21 | extern "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); | |||
79 | int zconf_lineno(void); | 74 | int zconf_lineno(void); |
80 | const char *zconf_curname(void); | 75 | const char *zconf_curname(void); |
81 | 76 | ||
82 | /* conf.c */ | ||
83 | void xfgets(char *str, int size, FILE *in); | ||
84 | |||
85 | /* confdata.c */ | 77 | /* confdata.c */ |
86 | const char *conf_get_configname(void); | 78 | const char *conf_get_configname(void); |
87 | const char *conf_get_autoconfig_name(void); | 79 | const char *conf_get_autoconfig_name(void); |
@@ -90,6 +82,11 @@ void sym_set_change_count(int count); | |||
90 | void sym_add_change_count(int count); | 82 | void sym_add_change_count(int count); |
91 | void conf_set_all_new_symbols(enum conf_def_mode mode); | 83 | void conf_set_all_new_symbols(enum conf_def_mode mode); |
92 | 84 | ||
85 | struct 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 */ |
94 | static inline void xfwrite(const void *str, size_t len, size_t count, FILE *out) | 91 | static 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 */ | ||
101 | void kconfig_load(void); | ||
102 | |||
103 | /* menu.c */ | 97 | /* menu.c */ |
104 | void _menu_init(void); | 98 | void _menu_init(void); |
105 | void menu_warn(struct menu *menu, const char *fmt, ...); | 99 | void menu_warn(struct menu *menu, const char *fmt, ...); |