projects
/
carl9170fw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cfg80211: support 4-way handshake offloading for 802.1X
[carl9170fw.git]
/
config
/
menu.c
diff --git
a/config/menu.c
b/config/menu.c
index 72c9dba84c5dbd46cb8ae2824a85d54603dbaafe..aed678e8a77750812bb9e49b7d9e7c6e32f9eea1 100644
(file)
--- 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));
}
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)
+st
atic st
ruct 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);
{
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)
if (menu->visibility) {
if (expr_calc_value(menu->visibility) == no)
- return
no
;
+ return
false
;
}
sym = menu->sym;
}
sym = menu->sym;
@@
-615,7
+615,7
@@
static struct property *get_symbol_prop(struct symbol *sym)
/*
* head is optional and may be NULL
*/
/*
* 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;
struct list_head *head)
{
bool hit;