diff options
Diffstat (limited to 'scripts/kconfig/lkc.h')
-rw-r--r-- | scripts/kconfig/lkc.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/kconfig/lkc.h b/scripts/kconfig/lkc.h index 76db065ed72c..bdf71bd31412 100644 --- a/scripts/kconfig/lkc.h +++ b/scripts/kconfig/lkc.h | |||
@@ -72,6 +72,9 @@ void zconf_nextfile(const char *name); | |||
72 | int zconf_lineno(void); | 72 | int zconf_lineno(void); |
73 | char *zconf_curname(void); | 73 | char *zconf_curname(void); |
74 | 74 | ||
75 | /* conf.c */ | ||
76 | void xfgets(char *str, int size, FILE *in); | ||
77 | |||
75 | /* confdata.c */ | 78 | /* confdata.c */ |
76 | const char *conf_get_configname(void); | 79 | const char *conf_get_configname(void); |
77 | const char *conf_get_autoconfig_name(void); | 80 | const char *conf_get_autoconfig_name(void); |
@@ -80,6 +83,13 @@ void sym_set_change_count(int count); | |||
80 | void sym_add_change_count(int count); | 83 | void sym_add_change_count(int count); |
81 | void conf_set_all_new_symbols(enum conf_def_mode mode); | 84 | void conf_set_all_new_symbols(enum conf_def_mode mode); |
82 | 85 | ||
86 | /* confdata.c and expr.c */ | ||
87 | static inline void xfwrite(const void *str, size_t len, size_t count, FILE *out) | ||
88 | { | ||
89 | if (fwrite(str, len, count, out) < count) | ||
90 | fprintf(stderr, "\nError in writing or end of file.\n"); | ||
91 | } | ||
92 | |||
83 | /* kconfig_load.c */ | 93 | /* kconfig_load.c */ |
84 | void kconfig_load(void); | 94 | void kconfig_load(void); |
85 | 95 | ||