From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c9SKZ-0007i7-A1 for barebox@lists.infradead.org; Wed, 23 Nov 2016 07:51:00 +0000 From: Sascha Hauer Date: Wed, 23 Nov 2016 08:50:33 +0100 Message-Id: <20161123075034.21606-2-s.hauer@pengutronix.de> In-Reply-To: <20161123075034.21606-1-s.hauer@pengutronix.de> References: <20161123075034.21606-1-s.hauer@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 2/3] globalvar: Make locally used function static To: Barebox List Fixes: common/globalvar.c:382:5: warning: no previous prototype for 'globalvar_simple_set' [-Wmissing-prototypes] Signed-off-by: Sascha Hauer --- common/globalvar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/globalvar.c b/common/globalvar.c index e75cac9..85d0795 100644 --- a/common/globalvar.c +++ b/common/globalvar.c @@ -379,7 +379,7 @@ void globalvar_set_match(const char *match, const char *val) } } -int globalvar_simple_set(struct device_d *dev, struct param_d *p, const char *val) +static int globalvar_simple_set(struct device_d *dev, struct param_d *p, const char *val) { struct device_d *rdev; const char *pname; -- 2.10.2 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox