From 2d7e602381f3c473d6c8214e8e56bcf80ccf9fa5 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@nbd.name>
Date: Wed, 3 Aug 2016 19:47:34 +0200
Subject: scripts/config: sync with latest linux upstream

Signed-off-by: Felix Fietkau <nbd@nbd.name>
---
 scripts/config/menu.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'scripts/config/menu.c')

diff --git a/scripts/config/menu.c b/scripts/config/menu.c
index 72c9dba..3d89dc1 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;
-- 
cgit v1.1