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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/kconfig/lkc.h b/scripts/kconfig/lkc.h
index 76db065ed72c..2ac33f5d273c 100644
--- a/scripts/kconfig/lkc.h
+++ b/scripts/kconfig/lkc.h
@@ -80,6 +80,13 @@ void sym_set_change_count(int count);
80void sym_add_change_count(int count); 80void sym_add_change_count(int count);
81void conf_set_all_new_symbols(enum conf_def_mode mode); 81void conf_set_all_new_symbols(enum conf_def_mode mode);
82 82
83/* confdata.c and expr.c */
84static inline void xfwrite(const void *str, size_t len, size_t count, FILE *out)
85{
86 if (fwrite(str, len, count, out) < count)
87 fprintf(stderr, "\nError in writing or end of file.\n");
88}
89
83/* kconfig_load.c */ 90/* kconfig_load.c */
84void kconfig_load(void); 91void kconfig_load(void);
85 92