X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=config%2Flkc.h;h=2d5ec2d0e95293c8293adacb229dc2ecb5e6f170;hb=a5d5b673abfd2afc6c1f80d8e10aad63c3d265cd;hp=91ca126ea0802e40278bbbf09b3413ce59c1bc15;hpb=a6cfffd112f5be4d6bcc16e5f4104db7f8e30415;p=carl9170fw.git diff --git a/config/lkc.h b/config/lkc.h index 91ca126..2d5ec2d 100644 --- a/config/lkc.h +++ b/config/lkc.h @@ -62,7 +62,7 @@ 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; @@ -100,7 +100,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 +114,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;