lkc.h (e54e692ba613c2170c66ce36a3791c009680af08) lkc.h (131c60a95e15e7d32b6f10881368e1ffe7296695)
1/*
2 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
3 * Released under the terms of the GNU GPL v2.0.
4 */
5
6#ifndef LKC_H
7#define LKC_H
8

--- 73 unchanged lines hidden (view full) ---

82/* confdata.c */
83const char *conf_get_configname(void);
84const char *conf_get_autoconfig_name(void);
85char *conf_get_default_confname(void);
86void sym_set_change_count(int count);
87void sym_add_change_count(int count);
88void conf_set_all_new_symbols(enum conf_def_mode mode);
89
1/*
2 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
3 * Released under the terms of the GNU GPL v2.0.
4 */
5
6#ifndef LKC_H
7#define LKC_H
8

--- 73 unchanged lines hidden (view full) ---

82/* confdata.c */
83const char *conf_get_configname(void);
84const char *conf_get_autoconfig_name(void);
85char *conf_get_default_confname(void);
86void sym_set_change_count(int count);
87void sym_add_change_count(int count);
88void conf_set_all_new_symbols(enum conf_def_mode mode);
89
90struct conf_printer {
91 void (*print_symbol)(FILE *, struct symbol *, const char *, void *);
92 void (*print_comment)(FILE *, const char *, void *);
93};
94
95/* confdata.c and expr.c */
96static inline void xfwrite(const void *str, size_t len, size_t count, FILE *out)
97{
98 if (fwrite(str, len, count, out) < count)
99 fprintf(stderr, "\nError in writing or end of file.\n");
100}
101
90/* confdata.c and expr.c */
91static inline void xfwrite(const void *str, size_t len, size_t count, FILE *out)
92{
93 if (fwrite(str, len, count, out) < count)
94 fprintf(stderr, "\nError in writing or end of file.\n");
95}
96
102/* kconfig_load.c */
103void kconfig_load(void);
104
105/* menu.c */
106void _menu_init(void);
107void menu_warn(struct menu *menu, const char *fmt, ...);
108struct menu *menu_add_menu(void);
109void menu_end_menu(void);
110void menu_add_entry(struct symbol *sym);
111void menu_end_entry(void);
112void menu_add_dep(struct expr *dep);

--- 84 unchanged lines hidden ---
97/* menu.c */
98void _menu_init(void);
99void menu_warn(struct menu *menu, const char *fmt, ...);
100struct menu *menu_add_menu(void);
101void menu_end_menu(void);
102void menu_add_entry(struct symbol *sym);
103void menu_end_entry(void);
104void menu_add_dep(struct expr *dep);

--- 84 unchanged lines hidden ---