aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/config/menu.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-08-03 19:47:34 +0200
committerFelix Fietkau <nbd@nbd.name>2016-08-03 20:03:35 +0200
commit2d7e602381f3c473d6c8214e8e56bcf80ccf9fa5 (patch)
tree43bc0a7953f008fad5fbc793e8d2dfca2e540081 /scripts/config/menu.c
parent7bf3695b0230d4cc4b6348f7c87b3c164314db8d (diff)
downloadupstream-2d7e602381f3c473d6c8214e8e56bcf80ccf9fa5.tar.gz
upstream-2d7e602381f3c473d6c8214e8e56bcf80ccf9fa5.tar.bz2
upstream-2d7e602381f3c473d6c8214e8e56bcf80ccf9fa5.zip
scripts/config: sync with latest linux upstream
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'scripts/config/menu.c')
-rw-r--r--scripts/config/menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/config/menu.c b/scripts/config/menu.c
index 72c9dba84c..3d89dc178d 100644
--- a/scripts/config/menu.c
+++ b/scripts/config/menu.c
@@ -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;