summaryrefslogtreecommitdiff
path: root/backport/kconf/lkc.h
diff options
context:
space:
mode:
Diffstat (limited to 'backport/kconf/lkc.h')
-rw-r--r--backport/kconf/lkc.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/backport/kconf/lkc.h b/backport/kconf/lkc.h
index 91ca126e..f4394af6 100644
--- a/backport/kconf/lkc.h
+++ b/backport/kconf/lkc.h
@@ -62,12 +62,13 @@ enum conf_def_mode {
#define T_OPT_ALLNOCONFIG_Y 4
struct kconf_id {
- int name;
+ const char *name;
int token;
unsigned int flags;
enum symbol_type stype;
};
+extern int yylineno;
void zconfdump(FILE *out);
void zconf_starthelp(void);
FILE *zconf_fopen(const char *name);
@@ -100,7 +101,6 @@ void menu_warn(struct menu *menu, const char *fmt, ...);
struct menu *menu_add_menu(void);
void menu_end_menu(void);
void menu_add_entry(struct symbol *sym);
-void menu_end_entry(void);
void menu_add_dep(struct expr *dep);
void menu_add_visibility(struct expr *dep);
struct property *menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep);
@@ -115,6 +115,8 @@ struct file *file_lookup(const char *name);
int file_write_dep(const char *name);
void *xmalloc(size_t size);
void *xcalloc(size_t nmemb, size_t size);
+void *xrealloc(void *p, size_t size);
+char *xstrdup(const char *s);
struct gstr {
size_t len;