X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=config%2Fmenu.c;h=aed678e8a77750812bb9e49b7d9e7c6e32f9eea1;hb=f99b6fd51bf8429eaad357ac9c7149a92f719628;hp=72c9dba84c5dbd46cb8ae2824a85d54603dbaafe;hpb=63be7663b0023fc396b8edb8a1d2a8b9c255f5f1;p=carl9170fw.git diff --git a/config/menu.c b/config/menu.c index 72c9dba..aed678e 100644 --- a/config/menu.c +++ b/config/menu.c @@ -125,7 +125,7 @@ void menu_set_type(int type) sym_type_name(sym->type), sym_type_name(type)); } -struct property *menu_add_prop(enum prop_type type, char *prompt, struct expr *expr, struct expr *dep) +static struct property *menu_add_prop(enum prop_type type, char *prompt, struct expr *expr, struct expr *dep) { struct property *prop = prop_alloc(type, current_entry->sym); @@ -477,7 +477,7 @@ bool menu_is_visible(struct menu *menu) if (menu->visibility) { if (expr_calc_value(menu->visibility) == no) - return no; + return false; } sym = menu->sym; @@ -615,7 +615,7 @@ static struct property *get_symbol_prop(struct symbol *sym) /* * head is optional and may be NULL */ -void get_symbol_str(struct gstr *r, struct symbol *sym, +static void get_symbol_str(struct gstr *r, struct symbol *sym, struct list_head *head) { bool hit;